Abstract superclass for text-based log backends.
void FormatSmartWindows(const LogMessage &message, int)
Special variant of method FormatSmart which uses colored messages (only for Windows).
void ProcessMessage(const LogMessage &message) override=0
Called by the MITK log mechanism if the object is registered and a log message is emitted.
void FormatFull(std::ostream &out, const LogMessage &message, int threadID=0)
Format the given message in the full/long format and writes it to the given std::ostream.
void AppendTimeStamp(std::ostream &out)
Write system time to the given stream.
void FormatSmart(std::ostream &out, const LogMessage &message, int threadID=0)
Format the given message in the smart/short format and writes it to the given std::ostream.
void FormatSmart(const LogMessage &message, int threadID=0)
Format the given message in the smart/short format and writes it to std::cout.
void FormatFull(const LogMessage &message, int threadID=0)
Format the given message in the full/long format and writes it to std::cout.
~LogBackendText() override