[go: up one dir, main page]

Menu

[r13]: / CLog.h  Maximize  Restore  History

Download this file

23 lines (19 with data), 626 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
#ifndef _CLOG_H_
#define _CLOG_H_
class CLog {
public:
CLog();
~CLog();
int error(int errnum, const char errmsg[]);
int warning(int errnum, const char errmsg[]);
void info(const char errmsg[]);
void debug(const char errmsg[]);
int error(int errnum, const char source[], const char errmsg[]);
int warning(int errnum, const char source[], const char errmsg[]);
void info(const char source[], const char errmsg[]);
void debug(const char source[], const char errmsg[]);
private:
void PutInLog(const char source[], const char type[], const char msg[]);
FILE* logfile;
};
#endif