ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
base class for decorating the debug output More...
#include <acts/blob/master/Core/include/Acts/Utilities/Logger.hpp>
Public Member Functions | |
OutputDecorator (std::unique_ptr< OutputPrintPolicy > wrappee) | |
constructor wrapping actual output print policy | |
void | flush (const Level &lvl, const std::ostringstream &input) override |
flush the debug message to the destination stream | |
Public Member Functions inherited from Acts::Logging::OutputPrintPolicy | |
virtual | ~OutputPrintPolicy ()=default |
virtual default destructor | |
Private Attributes | |
std::unique_ptr < OutputPrintPolicy > | m_wrappee |
wrapped object for printing the debug message | |
base class for decorating the debug output
Derived classes may augment the debug message with additional information. Chaining different decorators is possible to customize the output to your needs.
Definition at line 288 of file Logger.hpp.
View newest version in sPHENIX GitHub at line 288 of file Logger.hpp
|
inlineexplicit |
constructor wrapping actual output print policy
[in] | wrappee | output print policy object which is wrapped by this decorator object |
Definition at line 294 of file Logger.hpp.
View newest version in sPHENIX GitHub at line 294 of file Logger.hpp
|
inlineoverridevirtual |
flush the debug message to the destination stream
[in] | lvl | debug level of debug message |
[in] | input | text of debug message |
This function delegates the flushing of the debug message to its wrapped object.
Implements Acts::Logging::OutputPrintPolicy.
Reimplemented in Acts::Logging::LevelOutputDecorator, Acts::Logging::ThreadOutputDecorator, Acts::Logging::TimedOutputDecorator, Acts::Logging::NamedOutputDecorator, and Acts::Logging::MirrorOutputDecorator.
Definition at line 304 of file Logger.hpp.
View newest version in sPHENIX GitHub at line 304 of file Logger.hpp
References m_wrappee.
Referenced by Acts::Logging::MirrorOutputDecorator::flush(), Acts::Logging::NamedOutputDecorator::flush(), Acts::Logging::TimedOutputDecorator::flush(), Acts::Logging::ThreadOutputDecorator::flush(), and Acts::Logging::LevelOutputDecorator::flush().
|
private |
wrapped object for printing the debug message
Definition at line 310 of file Logger.hpp.
View newest version in sPHENIX GitHub at line 310 of file Logger.hpp
Referenced by flush().