#include <syslog.h>
Go to the source code of this file.
Defines | |
#define | CL_LOGGING_ON 0 |
#define | CL_WARNING_ON 1 |
#define | CL_ERROR_ON 1 |
#define | CL_CONNECT_DEBUG_ON 0 |
#define | CL_LISTER_DEBUG_ON 0 |
#define | CL_CONTROL_DEBUG_ON 0 |
#define | CL_SCREEN_DEBUG_ON 0 |
#define | CL_HISTORY_DEBUG_ON 0 |
#define | CL_IPC_DEBUG_ON 0 |
#define | CL_TIME_ON 0 |
#define | CL_CURSOR_ON 0 |
#define | CL_STACK_ON 0 |
#define | CL_PM_ON 0 |
#define | CL_TOOLBAR_ON 0 |
#define | CL_SEARCH_ON 0 |
#define | SYSLOG_ON 1 |
#define | CL_LOGPRINTF(x, args...) do {} while (0) |
#define | CL_WARNPRINTF(x, args...) |
#define | CL_ERRORPRINTF(x, args...) |
#define | CL_CTPRINTF(x, args...) do {} while (0) |
#define | CL_LISTERPRINTF(x, args...) do {} while (0) |
#define | CL_CONTROLPRINTF(x, args...) do {} while (0) |
#define | CL_SCREENPRINTF(x, args...) do {} while (0) |
#define | CL_HISTORYPRINTF(x, args...) do {} while (0) |
#define | CL_IPCPRINTF(x, args...) do {} while (0) |
#define | CL_CURSORPRINTF(x, args...) do {} while (0) |
#define | CL_STACKPRINTF(x, args...) do {} while (0) |
#define | CL_PMPRINTF(x, args...) do {} while (0) |
#define | CL_TBPRINTF(x, args...) do {} while (0) |
#define | CL_SEARCHPRINTF(x, args...) do {} while (0) |
#define | CL_TIMEDISPLAY(x, args...) do {} while (0) |
<File description>=""> The value of CL_X_ON (with X one of LOGGING, WARNING or ERROR) determines whether a message will be printed. The value as defined in this file can be overruled by defining them before the inclusion of this file.
This file is best included in c files only.
Definition in file contentListerLog.h.
#define CL_CONNECT_DEBUG_ON 0 |
Definition at line 41 of file contentListerLog.h.
#define CL_CONTROL_DEBUG_ON 0 |
Definition at line 43 of file contentListerLog.h.
#define CL_CONTROLPRINTF | ( | x, | |||
args... | ) | do {} while (0) |
Definition at line 142 of file contentListerLog.h.
#define CL_CTPRINTF | ( | x, | |||
args... | ) | do {} while (0) |
Definition at line 114 of file contentListerLog.h.
#define CL_CURSOR_ON 0 |
Definition at line 48 of file contentListerLog.h.
#define CL_CURSORPRINTF | ( | x, | |||
args... | ) | do {} while (0) |
Definition at line 198 of file contentListerLog.h.
#define CL_ERROR_ON 1 |
Definition at line 40 of file contentListerLog.h.
#define CL_ERRORPRINTF | ( | x, | |||
args... | ) |
Value:
{\ syslog(LOG_ERR, "(CL_E)" __FILE__ ":%d,%s() " x "\n", __LINE__, __func__ , ##args);\ fprintf(stderr, "(CL_E)" __FILE__ ":%d,%s() " x "\n", __LINE__, __func__ , ##args);\ }
Definition at line 91 of file contentListerLog.h.
#define CL_HISTORY_DEBUG_ON 0 |
Definition at line 45 of file contentListerLog.h.
#define CL_HISTORYPRINTF | ( | x, | |||
args... | ) | do {} while (0) |
Definition at line 170 of file contentListerLog.h.
#define CL_IPC_DEBUG_ON 0 |
Definition at line 46 of file contentListerLog.h.
#define CL_IPCPRINTF | ( | x, | |||
args... | ) | do {} while (0) |
Definition at line 184 of file contentListerLog.h.
#define CL_LISTER_DEBUG_ON 0 |
Definition at line 42 of file contentListerLog.h.
#define CL_LISTERPRINTF | ( | x, | |||
args... | ) | do {} while (0) |
Definition at line 128 of file contentListerLog.h.
#define CL_LOGGING_ON 0 |
Definition at line 38 of file contentListerLog.h.
#define CL_LOGPRINTF | ( | x, | |||
args... | ) | do {} while (0) |
Definition at line 72 of file contentListerLog.h.
#define CL_PM_ON 0 |
Definition at line 50 of file contentListerLog.h.
#define CL_PMPRINTF | ( | x, | |||
args... | ) | do {} while (0) |
Definition at line 226 of file contentListerLog.h.
#define CL_SCREEN_DEBUG_ON 0 |
Definition at line 44 of file contentListerLog.h.
#define CL_SCREENPRINTF | ( | x, | |||
args... | ) | do {} while (0) |
Definition at line 156 of file contentListerLog.h.
#define CL_SEARCH_ON 0 |
Definition at line 52 of file contentListerLog.h.
#define CL_SEARCHPRINTF | ( | x, | |||
args... | ) | do {} while (0) |
Definition at line 254 of file contentListerLog.h.
#define CL_STACK_ON 0 |
Definition at line 49 of file contentListerLog.h.
#define CL_STACKPRINTF | ( | x, | |||
args... | ) | do {} while (0) |
Definition at line 212 of file contentListerLog.h.
#define CL_TBPRINTF | ( | x, | |||
args... | ) | do {} while (0) |
Definition at line 240 of file contentListerLog.h.
#define CL_TIME_ON 0 |
Definition at line 47 of file contentListerLog.h.
#define CL_TIMEDISPLAY | ( | x, | |||
args... | ) | do {} while (0) |
Definition at line 278 of file contentListerLog.h.
#define CL_TOOLBAR_ON 0 |
Definition at line 51 of file contentListerLog.h.
#define CL_WARNING_ON 1 |
Definition at line 39 of file contentListerLog.h.
#define CL_WARNPRINTF | ( | x, | |||
args... | ) |
Value:
{\ syslog(LOG_WARNING, "(CL_W)" __FILE__ ":%d,%s() " x "\n", __LINE__, __func__ , ##args);\ fprintf(stderr, "(CL_W)" __FILE__ ":%d,%s() " x "\n", __LINE__, __func__ , ##args);\ }
Definition at line 77 of file contentListerLog.h.
#define SYSLOG_ON 1 |
Definition at line 54 of file contentListerLog.h.