Switch to unified view

a/src/utils/debuglog.h b/src/utils/debuglog.h
...
...
64
};
64
};
65
65
66
extern DebugLog *getdbl();
66
extern DebugLog *getdbl();
67
extern const char *getfilename();
67
extern const char *getfilename();
68
extern int setfilename(const char *fname, int trnc = 1);
68
extern int setfilename(const char *fname, int trnc = 1);
69
extern int reopen();
70
69
#if STATICVERBOSITY >= DEBFATAL
71
#if STATICVERBOSITY >= DEBFATAL
70
#define LOGFATAL(X) {if (DebugLog::getdbl()->getlevel()>=DEBFATAL){DebugLog::getdbl()->prolog(DEBFATAL,__FILE__,__LINE__) ;DebugLog::getdbl()->log X;}}
72
#define LOGFATAL(X) {if (DebugLog::getdbl()->getlevel()>=DEBFATAL){DebugLog::getdbl()->prolog(DEBFATAL,__FILE__,__LINE__) ;DebugLog::getdbl()->log X;}}
71
#else
73
#else
72
#define LOGFATAL(X)
74
#define LOGFATAL(X)
73
#endif
75
#endif