MIRA
|
Abstract base class for all CustomFormats. More...
#include <error/LogCustomizableFormatter.h>
Public Member Functions | |
virtual | ~CustomFormatBase () |
virtual void | format (const LogRecord &record, std::ostringstream &ioStream)=0 |
Called by LogCustomizableFormatter whenever a new log entry is getting formatted. More... | |
Abstract base class for all CustomFormats.
Derive from it if you like to add your own custom format.
|
inlinevirtual |
|
pure virtual |
Called by LogCustomizableFormatter whenever a new log entry is getting formatted.
Writes the formatted data to ioStream.
record | The log entry |
ioStream | The stream the formatted data gets written to. |
Implemented in LogCustomizableFormatter::Severity, LogCustomizableFormatter::Message, LogCustomizableFormatter::Thread, LogCustomizableFormatter::NameSpace, LogCustomizableFormatter::Class, LogCustomizableFormatter::Function, LogCustomizableFormatter::File, LogCustomizableFormatter::Line, LogCustomizableFormatter::Uptime, LogCustomizableFormatter::Time, and LogCustomizableFormatter::Generic< T >.