#include <syslog.h>

Go to the source code of this file.
Defines | |
| #define | BR_LOGGING_ON 0 |
| #define | BR_WARNING_ON 1 |
| #define | BR_ERROR_ON 1 |
| #define | BR_MANIFEST_ON 0 |
| #define | BR_PAGEBAR_ON 0 |
| #define | BR_IPC_ON 0 |
| #define | BR_MOZILLA_DOC_ON 0 |
| #define | BR_DISPLAY_ON 0 |
| #define | SYSLOG_ON 1 |
| #define | BR_LOGPRINTF(x, args...) do {} while (0) |
| #define | BR_WARNPRINTF(x, args...) |
| #define | BR_ERRORPRINTF(x, args...) |
| #define | BR_IPCPRINTF(x, args...) do {} while (0) |
| #define | BR_MANIFESTPRINTF(x, args...) do {} while (0) |
| #define | BR_PAGEBARPRINTF(x, args...) do {} while (0) |
| #define | BR_MOZILLA_DOCPRINTF(x, args...) do {} while (0) |
| #define | BR_DISPLAYPRINTF(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 browserLog.h.
| #define BR_DISPLAY_ON 0 |
Definition at line 45 of file browserLog.h.
| #define BR_DISPLAYPRINTF | ( | x, | |||
| args... | ) | do {} while (0) |
Definition at line 161 of file browserLog.h.
| #define BR_ERROR_ON 1 |
Definition at line 40 of file browserLog.h.
| #define BR_ERRORPRINTF | ( | x, | |||
| args... | ) |
Value:
{\
syslog(LOG_ERR, "(BR_E)" __FILE__ ":%d,%s() " x "\n", __LINE__, __func__ , ##args);\
fprintf(stderr, "(BR_E)" __FILE__ ":%d,%s() " x "\n", __LINE__, __func__ , ##args);\
}
Definition at line 82 of file browserLog.h.
| #define BR_IPC_ON 0 |
Definition at line 43 of file browserLog.h.
| #define BR_IPCPRINTF | ( | x, | |||
| args... | ) | do {} while (0) |
Definition at line 105 of file browserLog.h.
| #define BR_LOGGING_ON 0 |
Definition at line 38 of file browserLog.h.
| #define BR_LOGPRINTF | ( | x, | |||
| args... | ) | do {} while (0) |
Definition at line 63 of file browserLog.h.
| #define BR_MANIFEST_ON 0 |
Definition at line 41 of file browserLog.h.
| #define BR_MANIFESTPRINTF | ( | x, | |||
| args... | ) | do {} while (0) |
Definition at line 119 of file browserLog.h.
| #define BR_MOZILLA_DOC_ON 0 |
Definition at line 44 of file browserLog.h.
| #define BR_MOZILLA_DOCPRINTF | ( | x, | |||
| args... | ) | do {} while (0) |
Definition at line 147 of file browserLog.h.
| #define BR_PAGEBAR_ON 0 |
Definition at line 42 of file browserLog.h.
| #define BR_PAGEBARPRINTF | ( | x, | |||
| args... | ) | do {} while (0) |
Definition at line 133 of file browserLog.h.
| #define BR_WARNING_ON 1 |
Definition at line 39 of file browserLog.h.
| #define BR_WARNPRINTF | ( | x, | |||
| args... | ) |
Value:
{\
syslog(LOG_WARNING, "(BR_W)" __FILE__ ":%d,%s() " x "\n", __LINE__, __func__ , ##args);\
fprintf(stderr, "(BR_W)" __FILE__ ":%d,%s() " x "\n", __LINE__, __func__ , ##args);\
}
Definition at line 68 of file browserLog.h.
| #define SYSLOG_ON 1 |
Definition at line 47 of file browserLog.h.
1.5.6