Analysis Software
Documentation for sPHENIX simulation software
|
base class for decorating the debug output More...
#include <acts/blob/sPHENIX/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::string &input) override |
flush the debug message to the destination stream | |
const std::string & | name () const override |
Public Member Functions inherited from Acts::Logging::OutputPrintPolicy | |
virtual | ~OutputPrintPolicy ()=default |
virtual default destructor | |
virtual std::unique_ptr < OutputPrintPolicy > | clone (const std::string &name) const =0 |
Protected 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 341 of file Logger.hpp.
View newest version in sPHENIX GitHub at line 341 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 347 of file Logger.hpp.
View newest version in sPHENIX GitHub at line 347 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, and Acts::Logging::NamedOutputDecorator.
Definition at line 357 of file Logger.hpp.
View newest version in sPHENIX GitHub at line 357 of file Logger.hpp
References m_wrappee.
Referenced by Acts::Logging::NamedOutputDecorator::flush(), Acts::Logging::TimedOutputDecorator::flush(), Acts::Logging::ThreadOutputDecorator::flush(), and Acts::Logging::LevelOutputDecorator::flush().
|
inlineoverridevirtual |
Return the name of the output decorator (forwards to wrappee)
Implements Acts::Logging::OutputPrintPolicy.
Reimplemented in Acts::Logging::NamedOutputDecorator.
Definition at line 363 of file Logger.hpp.
View newest version in sPHENIX GitHub at line 363 of file Logger.hpp
References m_wrappee.
|
protected |
wrapped object for printing the debug message
Definition at line 367 of file Logger.hpp.
View newest version in sPHENIX GitHub at line 367 of file Logger.hpp
Referenced by Acts::Logging::NamedOutputDecorator::clone(), Acts::Logging::TimedOutputDecorator::clone(), Acts::Logging::ThreadOutputDecorator::clone(), Acts::Logging::LevelOutputDecorator::clone(), flush(), and name().