23 #ifndef __ccxx_FileLogger_hxx 24 #define __ccxx_FileLogger_hxx 67 virtual bool setFile(
const String& dir,
const String& name);
74 void setMaxLogSize(
size_t maxLogSize);
83 void setRotateCount(
uint_t rotateCount);
95 virtual void openFile();
103 int64_t _maxFileSize;
116 #endif // __ccxx_FileLogger_hxx
A logger that writes to a file, and can optionally perform log rotation.
Definition: FileLogger.h++:40
unsigned int uint_t
An alias for unsigned int.
Definition: Integers.h++:74
An abstract base class for threadsafe loggers.
Definition: Logger.h++:40
A representation of a file in the filesystem.
Definition: File.h++:118
static const uint_t MAX_ROTATE_COUNT
The maximum file rotate count.
Definition: FileLogger.h++:86
#define COMMONCPP_API
Definition: Common.h++:126
A flexible, reference counted, copy-on-write, thread-safe, nullable string.
Definition: String.h++:50
Definition: AllocationMap.c++:25