|
a/src/utils/debuglog.h |
|
b/src/utils/debuglog.h |
|
... |
|
... |
59 |
virtual void setloglevel(int lev);
|
59 |
virtual void setloglevel(int lev);
|
60 |
inline int getlevel() {return debuglevel;}
|
60 |
inline int getlevel() {return debuglevel;}
|
61 |
virtual void pushlevel(int lev);
|
61 |
virtual void pushlevel(int lev);
|
62 |
virtual void poplevel();
|
62 |
virtual void poplevel();
|
63 |
virtual void logdate(int onoff) {dodate = onoff;}
|
63 |
virtual void logdate(int onoff) {dodate = onoff;}
|
|
|
64 |
static bool isspecialname(const char *logname);
|
64 |
};
|
65 |
};
|
65 |
|
66 |
|
66 |
extern DebugLog *getdbl();
|
67 |
extern DebugLog *getdbl();
|
67 |
extern const char *getfilename();
|
68 |
extern const char *getfilename();
|
68 |
extern int setfilename(const char *fname, int trnc = 1);
|
69 |
extern int setfilename(const char *fname, int trnc = 1);
|