29 static bool init(
void);
30 static void destroy(
void);
32 static void setLogLevels(
int lev_console,
int lev_file);
40 static void error(
const char *msg, ...);
41 static void warning(
const char *msg, ...);
42 static void info(
const char *msg, ...);
46 static void fl_error(
const char *msg, ...);
47 static void fl_warning(
const char *msg, ...);
48 static void fl_info(
const char *msg, ...);
52 static void error(
int line,
const char *fname,
const char *comment);
54 static void warning(
int line,
const char *fname,
const char *comment);
56 static void comment(
int line,
const char *fname,
const char *comment);
58 static void comment(
int line,
const char *fname,
const char *comment,
int i)
61 sprintf(
buf, comment, i);
65 static void comment(
int line,
const char *fname,
const char *comment,
const char *st)
68 sprintf(
buf, comment, st);
108 __MY_FILE__ = __FILE__; \
109 __MY_LINE__ = __LINE__; \
118#define DBGOUT 1 ? (void)0 : __dummy_dbgout
126inline void __dummy_logout(
const char *, ...)
129#define LOGERROR 1 ? (void)0 : __dummy_logout
130#define LOGWARNING 1 ? (void)0 : __dummy_logout
131#define LOGINFO 1 ? (void)0 : __dummy_logout
135 __MY_FILE__ = __FILE__; \
136 __MY_LINE__ = __LINE__; \
137 covise::coErr::fl_error
139 __MY_FILE__ = __FILE__; \
140 __MY_LINE__ = __LINE__; \
141 covise::coErr::fl_warning
143 __MY_FILE__ = __FILE__; \
144 __MY_LINE__ = __LINE__; \
145 covise::coErr::fl_info
void __dummy_dbgout(const char *,...)
Definition: coErr.h:114
UTILEXPORT void bcHelperDebug(const char *msg,...)
Definition: coErr.cpp:39
std::string UTILEXPORT __MY_FILE__
Definition: coErr.cpp:32
int UTILEXPORT __MY_LINE__
Definition: coErr.cpp:33
#define UTILEXPORT
Definition: coExport.h:206
GLsizei const GLchar *const * string
Definition: khronos-glext.h:6750
GLenum GLuint GLenum GLsizei const GLchar * buf
Definition: khronos-glext.h:8469
list of all chemical elements
Definition: coConfig.h:27
static FILE * m_file
Definition: coErr.h:79
coErr & operator=(const coErr &)
static void comment(int line, const char *fname, const char *comment, int i)
Definition: coErr.h:58
static int m_file_lev
Definition: coErr.h:87
static void comment(int line, const char *fname, const char *comment)
Definition: coErr.cpp:369
static void comment(int line, const char *fname, const char *comment, const char *st)
Definition: coErr.h:65
static int m_console_lev
Definition: coErr.h:90