Closed jalalmostafa closed 6 months ago
This PR adds an API in the logging subsystem to allow logging to a file. It adds two functions:
cne_log_set_file
FILE*
cne_log_get_file
This PR adds an API in the logging subsystem to allow logging to a file. It adds two functions:
cne_log_set_file
to the log fileFILE*
instancecne_log_get_file
to get the log fileFILE*
instance, if not set it returns stdout to keep the old logging behavior.