Aller au code source de ce fichier.
Macros | |
#define | cd_error(...) cd_log_location(G_LOG_LEVEL_ERROR, __FILE__, __PRETTY_FUNCTION__, __LINE__,__VA_ARGS__) |
#define | cd_critical(...) cd_log_location(G_LOG_LEVEL_CRITICAL, __FILE__, __PRETTY_FUNCTION__, __LINE__,__VA_ARGS__) |
#define | cd_warning(...) cd_log_location(G_LOG_LEVEL_WARNING, __FILE__, __PRETTY_FUNCTION__, __LINE__,__VA_ARGS__) |
#define | cd_message(...) cd_log_location(G_LOG_LEVEL_MESSAGE, __FILE__, __PRETTY_FUNCTION__, __LINE__,__VA_ARGS__) |
#define | cd_debug(...) cd_log_location(G_LOG_LEVEL_DEBUG, __FILE__, __PRETTY_FUNCTION__, __LINE__,__VA_ARGS__) |
Fonctions | |
void | cd_log_location (const GLogLevelFlags loglevel, const char *file, const char *func, const int line, const char *format,...) |
void | cd_log_init (gboolean bBlackTerminal) |
void | cd_log_set_level (GLogLevelFlags loglevel) |
Variables | |
GLogLevelFlags | gLogLevel |
#define cd_error | ( | ... | ) | cd_log_location(G_LOG_LEVEL_ERROR, __FILE__, __PRETTY_FUNCTION__, __LINE__,__VA_ARGS__) |
#define cd_critical | ( | ... | ) | cd_log_location(G_LOG_LEVEL_CRITICAL, __FILE__, __PRETTY_FUNCTION__, __LINE__,__VA_ARGS__) |
#define cd_warning | ( | ... | ) | cd_log_location(G_LOG_LEVEL_WARNING, __FILE__, __PRETTY_FUNCTION__, __LINE__,__VA_ARGS__) |
#define cd_message | ( | ... | ) | cd_log_location(G_LOG_LEVEL_MESSAGE, __FILE__, __PRETTY_FUNCTION__, __LINE__,__VA_ARGS__) |
#define cd_debug | ( | ... | ) | cd_log_location(G_LOG_LEVEL_DEBUG, __FILE__, __PRETTY_FUNCTION__, __LINE__,__VA_ARGS__) |
void cd_log_location | ( | const GLogLevelFlags | loglevel, | |
const char * | file, | |||
const char * | func, | |||
const int | line, | |||
const char * | format, | |||
... | ||||
) |
void cd_log_init | ( | gboolean | bBlackTerminal | ) |
initialise the log system
void cd_log_set_level | ( | GLogLevelFlags | loglevel | ) |
set the verbosity level
GLogLevelFlags gLogLevel |