| Top |
| void | tlm_log_init () |
| void | tlm_log_close () |
| #define | EXPAND_LOG_MSG() |
| #define | INFO() |
| #define | DBG() |
| #define | WARN() |
| #define | CRITICAL() |
| #define | ERR() |
void
tlm_log_init (const gchar *domain);
Call this function before logging any messages to initialize the logging system.
void
tlm_log_close (const gchar *domain);
Call this function to clean up the logging system (e.g. in an object destructor).
# define DBG(frmt, args...) g_debug("debug:"EXPAND_LOG_MSG(frmt, ##args))
Logs a debugging message
#define WARN(frmt, args...) g_warning("warning:"EXPAND_LOG_MSG(frmt, ##args))
Logs a warning message
#define CRITICAL(frmt, args...) g_critical(EXPAND_LOG_MSG(frmt, ##args))
Logs a critical message