#include <syslog.h>

Go to the source code of this file.
Defines | |
| #define | ST_LOGGING_ON 0 |
| #define | ST_WARNING_ON 1 |
| #define | ST_ERROR_ON 1 |
| #define | ST_SELECTION_ON 0 |
| #define | ST_LANGUAGE_ON 0 |
| #define | ST_STORE_ON 1 |
| #define | ST_IPC_ON 0 |
| #define | ST_SCREEN_ON 0 |
| #define | SYSLOG_ON 1 |
| #define | ST_STOREPRINTF(x, args...) |
| #define | ST_SELPRINTF(x, args...) do {} while (0) |
| #define | ST_LANGUAGEPRINTF(x, args...) do {} while (0) |
| #define | ST_LOGPRINTF(x, args...) do {} while (0) |
| #define | ST_WARNPRINTF(x, args...) |
| #define | ST_ERRORPRINTF(x, args...) |
| #define | ST_IPCPRINTF(x, args...) do {} while (0) |
Copyright (C) 2005-2008 iRex Technologies B.V. All rights reserved.
<File description>=""> The value of ST_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 setupLog.h.
| #define ST_ERROR_ON 1 |
Definition at line 41 of file setupLog.h.
| #define ST_ERRORPRINTF | ( | x, | |||
| args... | ) |
Value:
{\
syslog(LOG_ERR, "(S_E)" __FILE__ ":%d,%s() " x "\n", __LINE__, __func__ , ##args);\
fprintf(stderr, "(S_E)" __FILE__ ":%d,%s() " x "\n", __LINE__, __func__ , ##args);\
}
Definition at line 125 of file setupLog.h.
| #define ST_IPC_ON 0 |
Definition at line 45 of file setupLog.h.
| #define ST_IPCPRINTF | ( | x, | |||
| args... | ) | do {} while (0) |
Definition at line 148 of file setupLog.h.
| #define ST_LANGUAGE_ON 0 |
Definition at line 43 of file setupLog.h.
| #define ST_LANGUAGEPRINTF | ( | x, | |||
| args... | ) | do {} while (0) |
Definition at line 92 of file setupLog.h.
| #define ST_LOGGING_ON 0 |
Definition at line 39 of file setupLog.h.
| #define ST_LOGPRINTF | ( | x, | |||
| args... | ) | do {} while (0) |
Definition at line 106 of file setupLog.h.
| #define ST_SCREEN_ON 0 |
Definition at line 46 of file setupLog.h.
| #define ST_SELECTION_ON 0 |
Definition at line 42 of file setupLog.h.
| #define ST_SELPRINTF | ( | x, | |||
| args... | ) | do {} while (0) |
Definition at line 78 of file setupLog.h.
| #define ST_STORE_ON 1 |
Definition at line 44 of file setupLog.h.
| #define ST_STOREPRINTF | ( | x, | |||
| args... | ) |
Value:
{\
syslog(LOG_INFO, "(S_ST)" __FILE__ ":%d,%s() " x "\n", __LINE__, __func__ , ##args);\
fprintf(stderr, "(S_ST)" __FILE__ ":%d,%s() " x "\n", __LINE__, __func__ , ##args);\
}
Definition at line 55 of file setupLog.h.
| #define ST_WARNING_ON 1 |
Definition at line 40 of file setupLog.h.
| #define ST_WARNPRINTF | ( | x, | |||
| args... | ) |
Value:
{\
syslog(LOG_WARNING, "(S_W)" __FILE__ ":%d,%s() " x "\n", __LINE__, __func__ , ##args);\
fprintf(stderr, "(S_W)" __FILE__ ":%d,%s() " x "\n", __LINE__, __func__ , ##args);\
}
Definition at line 111 of file setupLog.h.
| #define SYSLOG_ON 1 |
Definition at line 48 of file setupLog.h.
1.5.6