Class LevelOutputDecorator¶
Defined in File Logger.hpp
Inheritance Relationships¶
Base Type¶
public Acts::Logging::OutputDecorator
(Class OutputDecorator)
Class Documentation¶
-
class
Acts::Logging
::
LevelOutputDecorator
: public Acts::Logging::OutputDecorator¶ decorate debug message with its debug level
The debug message is complemented with its debug level.
Public Functions
-
LevelOutputDecorator
(std::unique_ptr<OutputPrintPolicy> wrappee)¶ constructor
- Parameters
[in] wrappee
: output print policy object to be wrapped
-
void
flush
(const Level &lvl, const std::string &input) override¶ flush the debug message to the destination stream
This function prepends the debug level to the debug message and then delegates the flushing of the whole message to its wrapped object.
- Parameters
[in] lvl
: debug level of debug message[in] input
: text of debug message
-