23 #ifndef __ccxx_Logger_hxx 24 #define __ccxx_Logger_hxx 59 void setFormat(
const String& format);
70 void log(
LogLevel level,
const char* file,
int line,
const char* message,
82 void vlog(
LogLevel level,
const char* file,
int line,
const char* message,
97 void disableLogLevel(
LogLevel level);
100 bool isLogLevelEnabled(
LogLevel level)
const;
134 #endif // __ccxx_Logger_hxx
LogFormat & getLogFormat()
Get the LogFormat used by this Logger.
Definition: Logger.h++:103
unsigned int uint_t
An alias for unsigned int.
Definition: Integers.h++:74
An abstract base class for threadsafe loggers.
Definition: Logger.h++:40
static const size_t LOG_BUFFER_SIZE
The log buffer size.
Definition: Logger.h++:110
LogLevel
Logging levels.
Definition: LogFormat.h++:44
#define COMMONCPP_API
Definition: Common.h++:126
A flexible, reference counted, copy-on-write, thread-safe, nullable string.
Definition: String.h++:50
#define CCXX_COPY_DECLS(CLASS)
Inlines declarations of a copy constructor and assignment operator for the class CLASS.
Definition: Common.h++:295
Definition: AllocationMap.c++:25