|
pnmixer
Volume mixer for the system tray
|
Logging support. More...

Go to the source code of this file.
Macros | |
| #define | VT_ESC "\033" |
| #define | VT_RESET "[0m" |
| #define | VT_RED "[0;31m" |
| #define | VT_GREY "[0;37m" |
| #define | VT_YELLOW "[1;33m" |
Functions | |
| void | log_msg_v (enum log_level level, const char *file, const char *format, va_list args) |
| void | log_msg (enum log_level level, const char *file, const char *format,...) |
Variables | |
| gboolean | want_debug = FALSE |
| #define VT_ESC "\033" |
Definition at line 26 of file support-log.c.
| #define VT_GREY "[0;37m" |
Definition at line 29 of file support-log.c.
| #define VT_RED "[0;31m" |
Definition at line 28 of file support-log.c.
| #define VT_RESET "[0m" |
Definition at line 27 of file support-log.c.
| #define VT_YELLOW "[1;33m" |
Definition at line 30 of file support-log.c.
| void log_msg | ( | enum log_level | level, |
| const char * | file, | ||
| const char * | format, | ||
| ... | |||
| ) |
Log a message.
| level | the log level. |
| file | the file name. |
| format | the message format. See the printf() documentation. |
| ... | the parameters to insert into the format string. |
Definition at line 84 of file support-log.c.
| void log_msg_v | ( | enum log_level | level, |
| const char * | file, | ||
| const char * | format, | ||
| va_list | args | ||
| ) |
Log a message.
| level | the log level. |
| file | the file name. |
| format | the message format. See the printf() documentation. |
| args | the parameters to insert into the format string. |
Definition at line 49 of file support-log.c.
| gboolean want_debug = FALSE |
Global variable to control whether we want debugging. This variable is initialized in main() and depends on the '–debug'/'-d' command line argument.
Definition at line 38 of file support-log.c.
1.8.14