Go to the documentation of this file.
23 , m_minimumLogLevel(Notice)
25 , m_outputBufferWritten(0)
102 const char tmp[2] = { character, 0 };
const char * getIdent() const
Retrieve log identify.
Level m_minimumLogLevel
Minimum log level required to log.
virtual void terminate() const
Terminate the program immediately.
void setMinimumLogLevel(Level level)
Set the minimum logging level.
void flush(const bool force=false)
Flush internal buffer.
Size m_outputBufferWritten
Number of characters written in the output buffer.
Log & operator<<(Log &log, const char *str)
const char * m_ident
Identity.
void append(const char *str)
Append to buffered output.
static const Size LogBufferSize
Size of the log buffer in bytes.
virtual void write(const char *str)=0
Write to the actual output device.
char m_outputBuffer[LogBufferSize]
Output line is stored here until written using write()
Singleton design pattern: only one instance is allowed.
virtual ~Log()
Destructor.
Level getMinimumLogLevel()
Get the minimum logging level.
void setIdent(const char *ident)
Set log identity.
Level
Logging level values.