18 #ifndef APPENDERFILE_H
19 #define APPENDERFILE_H
27 typedef std::integral_constant<AppenderType, APPENDER_FILE>::type
TypeIndex;
31 FILE* OpenFile(std::string
const& name, std::string
const& mode,
bool backup);
std::string _logDir
Definition: AppenderFile.h:39
AppenderType
Definition: Appender.h:44
std::string _fileName
Definition: AppenderFile.h:38
virtual void _write(LogMessage const *)=0
std::vector< char const * > ExtraAppenderArgs
Definition: Appender.h:116
AppenderFlags
Definition: Appender.h:52
Definition: AppenderFile.h:24
bool _backup
Definition: AppenderFile.h:41
Definition: Appender.h:62
AppenderType getType() const override
Definition: AppenderFile.h:32
LogLevel
Definition: Appender.h:31
uint64_t uint64
Definition: Define.h:149
uint64 _maxFileSize
Definition: AppenderFile.h:42
#define TC_COMMON_API
Definition: Define.h:116
FILE * logfile
Definition: AppenderFile.h:37
std::atomic< uint64 > _fileSize
Definition: AppenderFile.h:43
uint8_t uint8
Definition: Define.h:152
const FieldDescriptor value
Definition: descriptor.h:1522
uint8 flags
Definition: DisableMgr.cpp:44
Definition: Appender.h:88
bool _dynamicName
Definition: AppenderFile.h:40
std::integral_constant< AppenderType, APPENDER_FILE >::type TypeIndex
Definition: AppenderFile.h:27