Référence du fichier /opt/cairo-dock/trunk/cairo-dock/src/cairo-dock-log.h

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


Documentation des 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__)


Documentation des 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  ) 

initialise the log system

void cd_log_set_level ( GLogLevelFlags  loglevel  ) 

set the verbosity level


Documentation des variables

GLogLevelFlags gLogLevel


Généré le Wed Apr 16 03:27:16 2008 pour Cairo-Dock par  doxygen 1.5.3