7 #ifndef Svc_ComLogger_HPP
8 #define Svc_ComLogger_HPP
22 #define COMLOGGER_PATH_MAX PATH_MAX
24 #define COMLOGGER_PATH_MAX 255
29 #define COMLOGGER_NAME_MAX NAME_MAX
31 #define COMLOGGER_NAME_MAX 255
53 ComLogger(
const char* compName,
const char* filePrefix, U32 maxFileSize,
bool storeBufferLength=
true);
65 void init_log_file(
const char* filePrefix, U32 maxFileSize,
bool storeBufferLength=
true);
81 void CloseFile_cmdHandler(
103 CHAR m_filePrefix[MAX_FILENAME_SIZE + MAX_PATH_SIZE];
116 CHAR m_fileName[MAX_FILENAME_SIZE + MAX_PATH_SIZE];
117 CHAR m_hashFileName[MAX_FILENAME_SIZE + MAX_PATH_SIZE];
119 bool m_writeErrorOccurred;
120 bool m_openErrorOccurred;
121 bool m_storeBufferLength;
133 void writeComBufferToFile(
PlatformIntType NATIVE_INT_TYPE
#define COMLOGGER_PATH_MAX
#define COMLOGGER_NAME_MAX
Auto-generated base for ComLogger component.
void init_log_file(const char *filePrefix, U32 maxFileSize, bool storeBufferLength=true)
ComLogger(const char *compName, const char *filePrefix, U32 maxFileSize, bool storeBufferLength=true)