Crate mdlogger

Source

Modules§

constants
interfaces
logmessage
types
utils

Macros§

mdlogger_ccritical
use this macro to do a categorized critical message type log
mdlogger_cdebug
use this macro to do a categorized debug message type log
mdlogger_cfatal
use this macro to do a categorized fatal message type log
mdlogger_cinfo
use this macro to do a categorized information message type log
mdlogger_critical
use this macro to do a critical message type log
mdlogger_cwarning
use this macro to do a categorized warning message type log
mdlogger_debug
use this macro to do a debug message type log
mdlogger_fatal
use this macro to do a fatal message type log
mdlogger_info
use this macro to do a information message type log
mdlogger_warning
use this macro to do a warning message type log
pretty_function
use this macro to get function name where it is used similar to the gnu c++ macro __PRETTY_FUNCTION__ it is used in the logging macros

Constants§

DEFAULT_CATEGORY

Functions§

finalize
Filalization mdlogger function that release all resources allocated by mdlogger
format
Takes an Arguments struct and returns the resulting formatted string.
initialize
Initialize mdlogger
log
mdlogger log function you can use directly but it’s better to use log macros
register_log_handler_factory
Register a log handler factory object Call this function before initialize function