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);
70 void init_log_file(
const char* filePrefix, U32 maxFileSize,
bool storeBufferLength=
true);
86 void CloseFile_cmdHandler(
108 CHAR filePrefix[MAX_FILENAME_SIZE + MAX_PATH_SIZE];
121 CHAR fileName[MAX_FILENAME_SIZE + MAX_PATH_SIZE];
122 CHAR hashFileName[MAX_FILENAME_SIZE + MAX_PATH_SIZE];
124 bool writeErrorOccurred;
125 bool openErrorOccurred;
126 bool storeBufferLength;
138 void writeComBufferToFile(
PlatformIntType NATIVE_INT_TYPE
#define COMLOGGER_PATH_MAX
#define COMLOGGER_NAME_MAX
void init_log_file(const char *filePrefix, U32 maxFileSize, bool storeBufferLength=true)
void init(NATIVE_INT_TYPE queueDepth, NATIVE_INT_TYPE instance)