This module creates a unique log handler for a program. It supports several helper functions to handle logging of error messages. This module uses the cyclic file handler to create thread-safe rotating files. The interface is as follows:
- initialize the log handler using
log_init
- print messages to the file using
logd
,loge
, andlogea
- destroy the logging handler with
log_destroy
when you are done.