logger
logger — Logging facility
|
|
Details
enum FepLogLevel
typedef enum {
FEP_LOG_LEVEL_ERROR = 0,
FEP_LOG_LEVEL_CRITICAL,
FEP_LOG_LEVEL_WARNING,
FEP_LOG_LEVEL_MESSAGE,
FEP_LOG_LEVEL_INFO,
FEP_LOG_LEVEL_DEBUG
} FepLogLevel;
FEP_LOG_LEVEL_ERROR
|
Indicate the log message as error
|
FEP_LOG_LEVEL_CRITICAL
|
Critical failure messages
|
FEP_LOG_LEVEL_WARNING
|
Warning messages
|
FEP_LOG_LEVEL_MESSAGE
|
Normal messages
|
FEP_LOG_LEVEL_INFO
|
Informational messages
|
FEP_LOG_LEVEL_DEBUG
|
Debugging messages
|
fep_get_log_level ()
int fep_get_log_level (void
);
fep_log ()
void fep_log (FepLogLevel level
,
const char *fmt
,
...
);
fep_set_log_fd ()
void fep_set_log_fd (int fd
);
fep_set_log_file ()
void fep_set_log_file (const char *file
);
fep_set_log_level ()
void fep_set_log_level (FepLogLevel level
);