Default backend of the mbi logging mechanism. This backend is used if no other backend is registered. The backend formats the logging messages to a normal string and writes them to std::cout.
More...
#include <mbilogBackendCout.h>
|
| BackendCout () |
|
| ~BackendCout () override |
|
void | ProcessMessage (const mbilog::LogMessage &l) override |
| This method is called by the mbi logging mechanism if the object is registered in the mbi logging mechanism and a logging message is emitted. The method formats the logging messages to a normal string (depending on formatting mode) and writes it to std::cout. More...
|
|
void | SetFull (bool full) |
| Sets the formatting mode. If true long messages will be displayed. Default is false (short/smart messages). Long messages provide all informations and are also capable to be postproccessed (e.g. in a web viewer). More...
|
|
OutputType | GetOutputType () const override |
|
| ~TextBackendBase () override |
|
virtual | ~BackendBase () |
|
Default backend of the mbi logging mechanism. This backend is used if no other backend is registered. The backend formats the logging messages to a normal string and writes them to std::cout.
Definition at line 30 of file mbilogBackendCout.h.
◆ BackendCout()
mbilog::BackendCout::BackendCout |
( |
| ) |
|
◆ ~BackendCout()
mbilog::BackendCout::~BackendCout |
( |
| ) |
|
|
override |
◆ GetOutputType()
OutputType mbilog::BackendCout::GetOutputType |
( |
| ) |
const |
|
overridevirtual |
◆ ProcessMessage()
This method is called by the mbi logging mechanism if the object is registered in the mbi logging mechanism and a logging message is emitted. The method formats the logging messages to a normal string (depending on formatting mode) and writes it to std::cout.
- Parameters
-
Implements mbilog::TextBackendBase.
◆ SetFull()
void mbilog::BackendCout::SetFull |
( |
bool |
full | ) |
|
Sets the formatting mode. If true long messages will be displayed. Default is false (short/smart messages). Long messages provide all informations and are also capable to be postproccessed (e.g. in a web viewer).
The documentation for this class was generated from the following file: