liberregxml/inc/erreglog.h File Reference

liberreg - enable/disable messages printed to stderr. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define ERREG_BASIS_LOG_ON   0
#define ERREG_BASIS_WARN_ON   1
#define ERREG_BASIS_ERROR_ON   1
#define ERREG_NWPROFILES_LOG_ON   0
#define ERREG_NWPROFILES_WARN_ON   1
#define ERREG_NWPROFILES_ERROR_ON   1
#define ERREG_TOOLBAR_LOG_ON   0
#define ERREG_TOOLBAR_WARN_ON   1
#define ERREG_TOOLBAR_ERROR_ON   1
#define ERREG_LOGGING_ON   0
#define ERREG_WARNING_ON   1
#define ERREG_ERROR_ON   1
#define ERREG_XSD_LOG_ON   0
#define ERREG_XSD_WARN_ON   1
#define ERREG_XSD_ERROR_ON   1
#define ERREG_CFG_LOG_ON   0
#define ERREG_CFG_WARN_ON   1
#define ERREG_CFG_ERROR_ON   1
#define ERREG_RWLOCK_LOG_ON   0
#define ERREG_RWLOCK_WARN_ON   1
#define ERREG_RWLOCK_ERROR_ON   1
#define ERREG_DUMP_ON   0
#define ERREG_TIME_ON   0
#define ERREG_BASIS_LOGPRINTF(x, args...)   do {} while (0)
#define ERREG_BASIS_WARNPRINTF(x, args...)   fprintf(stderr, "(W)" __FILE__ ":%d,%s() " x "\n", __LINE__, __func__ , ##args)
#define ERREG_BASIS_ERRORPRINTF(x, args...)   fprintf(stderr, "(E)" __FILE__ ":%d,%s() " x "\n", __LINE__, __func__ , ##args)
#define ERREG_TOOLBAR_LOGPRINTF(x, args...)   do {} while (0)
#define ERREG_TOOLBAR_WARNPRINTF(x, args...)   fprintf(stderr, "(W)" __FILE__ ":%d,%s() " x "\n", __LINE__, __func__ , ##args)
#define ERREG_TOOLBAR_ERRORPRINTF(x, args...)   fprintf(stderr, "(E)" __FILE__ ":%d,%s() " x "\n", __LINE__, __func__ , ##args)
#define ERREG_NWPROFILES_LOGPRINTF(x, args...)   do {} while (0)
#define ERREG_NWPROFILES_WARNPRINTF(x, args...)   fprintf(stderr, "(W)" __FILE__ ":%d,%s() " x "\n", __LINE__, __func__ , ##args)
#define ERREG_NWPROFILES_ERRORPRINTF(x, args...)   fprintf(stderr, "(E)" __FILE__ ":%d,%s() " x "\n", __LINE__, __func__ , ##args)
#define ERREG_LOGPRINTF(x, args...)   do {} while (0)
#define ERREG_WARNPRINTF(x, args...)   fprintf(stderr, "(W)" __FILE__ ":%d,%s() " x "\n", __LINE__, __func__ , ##args)
#define ERREG_ERRORPRINTF(x, args...)   fprintf(stderr, "(E)" __FILE__ ":%d,%s() " x "\n", __LINE__, __func__ , ##args)
#define ERREG_XSD_LOGPRINTF(x, args...)   do {} while (0)
#define ERREG_XSD_WARNPRINTF(x, args...)   fprintf(stderr, "(W)" __FILE__ ":%d,%s() " x "\n", __LINE__, __func__ , ##args)
#define ERREG_XSD_ERRORPRINTF(x, args...)   fprintf(stderr, "(E)" __FILE__ ":%d,%s() " x "\n", __LINE__, __func__ , ##args)
#define ERREG_CFG_LOGPRINTF(x, args...)   do {} while (0)
#define ERREG_CFG_WARNPRINTF(x, args...)   fprintf(stderr, "(W)" __FILE__ ":%d,%s() " x "\n", __LINE__, __func__ , ##args)
#define ERREG_CFG_ERRORPRINTF(x, args...)   fprintf(stderr, "(E)" __FILE__ ":%d,%s() " x "\n", __LINE__, __func__ , ##args)
#define ERREG_RWLOCK_LOGPRINTF(x, args...)   do {} while (0)
#define ERREG_RWLOCK_WARNPRINTF(x, args...)   fprintf(stderr, "(W)" __FILE__ ":%d,%s() " x "\n", __LINE__, __func__ , ##args)
#define ERREG_RWLOCK_ERRORPRINTF(x, args...)   fprintf(stderr, "(E)" __FILE__ ":%d,%s() " x "\n", __LINE__, __func__ , ##args)
#define ERREG_DUMPPRINTF(x, args...)   do {} while (0)
#define ERREG_TIMEDISPLAY(x, args...)   do {} while (0)


Detailed Description

liberreg - enable/disable messages printed to stderr.

Copyright (C) 2005-2008 iRex Technologies B.V. All rights reserved.

The value of ERREGLOG_X_ON (with X one of LOGGING, WARNING or ERROR etc) 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 erreglog.h.


Define Documentation

#define ERREG_BASIS_ERROR_ON   1

Definition at line 42 of file erreglog.h.

#define ERREG_BASIS_ERRORPRINTF ( x,
args...   )     fprintf(stderr, "(E)" __FILE__ ":%d,%s() " x "\n", __LINE__, __func__ , ##args)

Definition at line 85 of file erreglog.h.

#define ERREG_BASIS_LOG_ON   0

Definition at line 40 of file erreglog.h.

#define ERREG_BASIS_LOGPRINTF ( x,
args...   )     do {} while (0)

Definition at line 75 of file erreglog.h.

#define ERREG_BASIS_WARN_ON   1

Definition at line 41 of file erreglog.h.

#define ERREG_BASIS_WARNPRINTF ( x,
args...   )     fprintf(stderr, "(W)" __FILE__ ":%d,%s() " x "\n", __LINE__, __func__ , ##args)

Definition at line 79 of file erreglog.h.

#define ERREG_CFG_ERROR_ON   1

Definition at line 62 of file erreglog.h.

#define ERREG_CFG_ERRORPRINTF ( x,
args...   )     fprintf(stderr, "(E)" __FILE__ ":%d,%s() " x "\n", __LINE__, __func__ , ##args)

Definition at line 175 of file erreglog.h.

#define ERREG_CFG_LOG_ON   0

Definition at line 60 of file erreglog.h.

#define ERREG_CFG_LOGPRINTF ( x,
args...   )     do {} while (0)

Definition at line 165 of file erreglog.h.

#define ERREG_CFG_WARN_ON   1

Definition at line 61 of file erreglog.h.

#define ERREG_CFG_WARNPRINTF ( x,
args...   )     fprintf(stderr, "(W)" __FILE__ ":%d,%s() " x "\n", __LINE__, __func__ , ##args)

Definition at line 169 of file erreglog.h.

#define ERREG_DUMP_ON   0

Definition at line 68 of file erreglog.h.

#define ERREG_DUMPPRINTF ( x,
args...   )     do {} while (0)

Definition at line 201 of file erreglog.h.

#define ERREG_ERROR_ON   1

Definition at line 54 of file erreglog.h.

#define ERREG_ERRORPRINTF ( x,
args...   )     fprintf(stderr, "(E)" __FILE__ ":%d,%s() " x "\n", __LINE__, __func__ , ##args)

Definition at line 139 of file erreglog.h.

#define ERREG_LOGGING_ON   0

Definition at line 52 of file erreglog.h.

#define ERREG_LOGPRINTF ( x,
args...   )     do {} while (0)

Definition at line 129 of file erreglog.h.

#define ERREG_NWPROFILES_ERROR_ON   1

Definition at line 46 of file erreglog.h.

#define ERREG_NWPROFILES_ERRORPRINTF ( x,
args...   )     fprintf(stderr, "(E)" __FILE__ ":%d,%s() " x "\n", __LINE__, __func__ , ##args)

Definition at line 121 of file erreglog.h.

#define ERREG_NWPROFILES_LOG_ON   0

Definition at line 44 of file erreglog.h.

#define ERREG_NWPROFILES_LOGPRINTF ( x,
args...   )     do {} while (0)

Definition at line 111 of file erreglog.h.

#define ERREG_NWPROFILES_WARN_ON   1

Definition at line 45 of file erreglog.h.

#define ERREG_NWPROFILES_WARNPRINTF ( x,
args...   )     fprintf(stderr, "(W)" __FILE__ ":%d,%s() " x "\n", __LINE__, __func__ , ##args)

Definition at line 115 of file erreglog.h.

#define ERREG_RWLOCK_ERROR_ON   1

Definition at line 66 of file erreglog.h.

#define ERREG_RWLOCK_ERRORPRINTF ( x,
args...   )     fprintf(stderr, "(E)" __FILE__ ":%d,%s() " x "\n", __LINE__, __func__ , ##args)

Definition at line 193 of file erreglog.h.

#define ERREG_RWLOCK_LOG_ON   0

Definition at line 64 of file erreglog.h.

#define ERREG_RWLOCK_LOGPRINTF ( x,
args...   )     do {} while (0)

Definition at line 183 of file erreglog.h.

#define ERREG_RWLOCK_WARN_ON   1

Definition at line 65 of file erreglog.h.

#define ERREG_RWLOCK_WARNPRINTF ( x,
args...   )     fprintf(stderr, "(W)" __FILE__ ":%d,%s() " x "\n", __LINE__, __func__ , ##args)

Definition at line 187 of file erreglog.h.

#define ERREG_TIME_ON   0

Definition at line 70 of file erreglog.h.

#define ERREG_TIMEDISPLAY ( x,
args...   )     do {} while (0)

Definition at line 215 of file erreglog.h.

#define ERREG_TOOLBAR_ERROR_ON   1

Definition at line 50 of file erreglog.h.

#define ERREG_TOOLBAR_ERRORPRINTF ( x,
args...   )     fprintf(stderr, "(E)" __FILE__ ":%d,%s() " x "\n", __LINE__, __func__ , ##args)

Definition at line 103 of file erreglog.h.

#define ERREG_TOOLBAR_LOG_ON   0

Definition at line 48 of file erreglog.h.

#define ERREG_TOOLBAR_LOGPRINTF ( x,
args...   )     do {} while (0)

Definition at line 93 of file erreglog.h.

#define ERREG_TOOLBAR_WARN_ON   1

Definition at line 49 of file erreglog.h.

#define ERREG_TOOLBAR_WARNPRINTF ( x,
args...   )     fprintf(stderr, "(W)" __FILE__ ":%d,%s() " x "\n", __LINE__, __func__ , ##args)

Definition at line 97 of file erreglog.h.

#define ERREG_WARNING_ON   1

Definition at line 53 of file erreglog.h.

#define ERREG_WARNPRINTF ( x,
args...   )     fprintf(stderr, "(W)" __FILE__ ":%d,%s() " x "\n", __LINE__, __func__ , ##args)

Definition at line 133 of file erreglog.h.

#define ERREG_XSD_ERROR_ON   1

Definition at line 58 of file erreglog.h.

#define ERREG_XSD_ERRORPRINTF ( x,
args...   )     fprintf(stderr, "(E)" __FILE__ ":%d,%s() " x "\n", __LINE__, __func__ , ##args)

Definition at line 157 of file erreglog.h.

#define ERREG_XSD_LOG_ON   0

Definition at line 56 of file erreglog.h.

#define ERREG_XSD_LOGPRINTF ( x,
args...   )     do {} while (0)

Definition at line 147 of file erreglog.h.

#define ERREG_XSD_WARN_ON   1

Definition at line 57 of file erreglog.h.

#define ERREG_XSD_WARNPRINTF ( x,
args...   )     fprintf(stderr, "(W)" __FILE__ ":%d,%s() " x "\n", __LINE__, __func__ , ##args)

Definition at line 151 of file erreglog.h.


Generated on Sun Dec 14 17:12:05 2008 by  doxygen 1.5.6