7#ifndef Svc_ComLogger_HPP
8#define Svc_ComLogger_HPP
10#include "Svc/ComLogger/ComLoggerComponentAc.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
37 public ComLoggerComponentBase
53 ComLogger(
const char* compName,
const char* filePrefix, U32 maxFileSize,
bool storeBufferLength=
true);
74 void CloseFile_cmdHandler(
96 CHAR filePrefix[MAX_FILENAME_SIZE + MAX_PATH_SIZE];
109 CHAR fileName[MAX_FILENAME_SIZE + MAX_PATH_SIZE];
110 CHAR hashFileName[MAX_FILENAME_SIZE + MAX_PATH_SIZE];
112 bool writeErrorOccurred;
113 bool openErrorOccurred;
114 bool storeBufferLength;
125 void writeComBufferToFile(
PlatformIntType NATIVE_INT_TYPE
#define COMLOGGER_PATH_MAX
#define COMLOGGER_NAME_MAX
void init(NATIVE_INT_TYPE queueDepth, NATIVE_INT_TYPE instance)