Log4g Reference Manual | ||||
---|---|---|---|---|
Top | Description |
void log4g_log_debug (const gchar *format
,...
); void log4g_log_debugv (const gchar *format
,va_list ap
); void log4g_log_warn (const gchar *format
,...
); void log4g_log_warnv (const gchar *format
,va_list ap
); void log4g_log_error (const gchar *format
,...
); void log4g_log_errorv (const gchar *format
,va_list ap
); void log4g_set_internal_debugging (gboolean value
); void log4g_set_quiet_mode (gboolean value
);
This class is used to output log statements from within the Log4g package.
Log4g components cannot use the Log4g API. This API allows Log4g to output
debugging statements to stdout. To enable debugging define the debug
flag (Bash):
export LOG4G_FLAGS=debug
All internal debug
statements go to stdout, error
and warn
messages are
sent to stderr. All internal messages are prepended with the string
"log4g: ".
void log4g_log_debug (const gchar *format
,...
);
Log an debugging message.
|
A printf message format. |
|
Format parameters. |
Since 0.1
void log4g_log_debugv (const gchar *format
,va_list ap
);
Log an debugging message.
|
A printf message format. |
|
Format parameters. |
Since 0.1
void log4g_log_warn (const gchar *format
,...
);
Log a warning message.
|
A printf message format. |
|
Format parameters. |
Since 0.1
void log4g_log_warnv (const gchar *format
,va_list ap
);
Log an warning message.
|
A printf message format. |
|
Format parameters. |
Since 0.1
void log4g_log_error (const gchar *format
,...
);
Log an error message.
|
A printf message format. |
|
Format parameters. |
Since 0.1
void log4g_log_errorv (const gchar *format
,va_list ap
);
Log an error message.
|
A printf message format. |
|
Format parameters. |
Since 0.1
void log4g_set_internal_debugging (gboolean value
);
Set the internal debugging flag.
If the debugging flag is TRUE
then Log4g will print debugging messages
to stdout.
|
The new debugging flag. |
Since 0.1