#include <syslog.h>
Go to the source code of this file.
Defines | |
#define | PV_LOGGING_ON 0 |
#define | PV_WARNING_ON 1 |
#define | PV_ERROR_ON 1 |
#define | PV_DUMP_ON 1 |
#define | PV_MEM_ON 1 |
#define | PV_LIST_ON 1 |
#define | PV_PROFILE_ON 1 |
#define | PV_SCB_ON 0 |
#define | PV_TOOLBAR_ON 0 |
#define | SYSLOG_ON 1 |
#define | PV_LOGPRINTF(x, args...) do {} while (0) |
#define | PV_WARNPRINTF(x, args...) |
#define | PV_ERRORPRINTF(x, args...) |
#define | PV_DUMP(x, args...) |
#define | PV_LISTPRINTF(x, args...) |
#define | PV_MEM(x, args...) |
#define | PV_SCBPRINTF(x, args...) do {} while (0) |
#define | PV_TBPRINTF(x, args...) do {} while (0) |
#define PV_DUMP | ( | x, | |||
args... | ) |
Value:
{\ syslog(LOG_INFO, x , ##args);\ fprintf(stderr, x , ##args);\ }
Definition at line 81 of file PDFViewerLog.h.
#define PV_DUMP_ON 1 |
Definition at line 25 of file PDFViewerLog.h.
#define PV_ERROR_ON 1 |
Definition at line 24 of file PDFViewerLog.h.
#define PV_ERRORPRINTF | ( | x, | |||
args... | ) |
Value:
{\ syslog(LOG_ERR, "(PV_E)" __FILE__ ":%d,%s() " x "\n", __LINE__, __func__ , ##args);\ fprintf(stderr, "(PV_E)" __FILE__ ":%d,%s() " x "\n", __LINE__, __func__ , ##args);\ }
Definition at line 67 of file PDFViewerLog.h.
#define PV_LIST_ON 1 |
Definition at line 27 of file PDFViewerLog.h.
#define PV_LISTPRINTF | ( | x, | |||
args... | ) |
Value:
{\ syslog(LOG_INFO, x , ##args);\ fprintf(stderr, x , ##args);\ }
Definition at line 95 of file PDFViewerLog.h.
#define PV_LOGGING_ON 0 |
Definition at line 22 of file PDFViewerLog.h.
#define PV_LOGPRINTF | ( | x, | |||
args... | ) | do {} while (0) |
Definition at line 48 of file PDFViewerLog.h.
#define PV_MEM | ( | x, | |||
args... | ) |
Value:
{\ syslog(LOG_INFO, "(PV_M)" __FILE__ ":%d,%s() " x "\n", __LINE__, __func__ , ##args);\ fprintf(stderr, "(PV_M)" __FILE__ ":%d,%s() " x "\n", __LINE__, __func__ , ##args);\ }
Definition at line 110 of file PDFViewerLog.h.
#define PV_MEM_ON 1 |
Definition at line 26 of file PDFViewerLog.h.
#define PV_PROFILE_ON 1 |
Definition at line 28 of file PDFViewerLog.h.
#define PV_SCB_ON 0 |
Definition at line 29 of file PDFViewerLog.h.
#define PV_SCBPRINTF | ( | x, | |||
args... | ) | do {} while (0) |
Definition at line 134 of file PDFViewerLog.h.
#define PV_TBPRINTF | ( | x, | |||
args... | ) | do {} while (0) |
Definition at line 149 of file PDFViewerLog.h.
#define PV_TOOLBAR_ON 0 |
Definition at line 30 of file PDFViewerLog.h.
#define PV_WARNING_ON 1 |
Definition at line 23 of file PDFViewerLog.h.
#define PV_WARNPRINTF | ( | x, | |||
args... | ) |
Value:
{\ syslog(LOG_WARNING, "(PV_W)" __FILE__ ":%d,%s() " x "\n", __LINE__, __func__ , ##args);\ fprintf(stderr, "(PV_W)" __FILE__ ":%d,%s() " x "\n", __LINE__, __func__ , ##args);\ }
Definition at line 53 of file PDFViewerLog.h.
#define SYSLOG_ON 1 |
Definition at line 32 of file PDFViewerLog.h.