6 #ifndef _INC_cLogFileDay_H
7 #define _INC_cLogFileDay_H
12 #include "../GrayLibBase.h"
39 HRESULT OpenLogCheck(
bool bStampLine);
57 return m_sFileBaseDir;
#define _FN(x)
like _T(x) macro for static text file names.
Definition: FileName.h:23
#define GRAYCALL
declare calling convention for static functions so everyone knows the arg passing scheme....
Definition: GrayCore.h:36
#define GRAYLIB_LINK
Definition: GrayLibBase.h:35
INT32 HRESULT
_WIN32 style error codes. INT32
Definition: SysTypes.h:465
#define MIME_EXT_log
Definition: cMime.h:49
Definition: cLogFileDay.h:21
virtual HRESULT FlushX() override
Definition: cLogFileDay.h:69
cFile m_LogFile
Place new logged events here. text file.
Definition: cLogFileDay.h:27
cStringF get_LogDir() const
Definition: cLogFileDay.h:55
int m_iLogKeepDays
Only keep logs for this many days. then delete file. 0 = forever.
Definition: cLogFileDay.h:28
cStringF get_LogPath() const
Definition: cLogFileDay.h:49
bool isLogOpen() const
Definition: cLogFileDay.h:45
bool m_bLockOpenClose
Locked in the current OpenLogCheck or close state.
Definition: cLogFileDay.h:29
virtual HRESULT FlushX() override
Definition: cFile.cpp:608
cStringF get_FilePath() const
Definition: cFile.h:222
virtual bool isFileOpen() const
Definition: cFile.h:259
Definition: cStream.h:126
Definition: cTimeUnits.h:146
char FILECHAR_t
a UTF8 char in a file name. like TCHAR
Definition: FileName.h:22
char LOGCHAR_t
always just use UTF8 for logs, don't bother with UNICODE.
Definition: cLogLevel.h:17