|
ACTS
Experiment-independent tracking
|
decorate debug message with a thread ID More...
#include <Acts/Utilities/Logger.hpp>
Public Member Functions | |
| ThreadOutputDecorator (std::unique_ptr< OutputPrintPolicy > wrappee) | |
| constructor | |
| std::unique_ptr< OutputPrintPolicy > | clone (const std::string &name) const override |
| Make a copy of this print policy with a new name. | |
| void | flush (const Level &lvl, const std::string &input) override |
| flush the debug message to the destination stream | |
| Public Member Functions inherited from Acts::Logging::OutputDecorator | |
| OutputDecorator (std::unique_ptr< OutputPrintPolicy > wrappee) | |
| constructor wrapping actual output print policy | |
| const std::string & | name () const override |
| Return the name of the output decorator (forwards to wrappee). | |
| Public Member Functions inherited from Acts::Logging::OutputPrintPolicy | |
| virtual | ~OutputPrintPolicy ()=default |
| virtual default destructor | |
Additional Inherited Members | |
| Protected Attributes inherited from Acts::Logging::OutputDecorator | |
| std::unique_ptr< OutputPrintPolicy > | m_wrappee |
| wrapped object for printing the debug message | |
decorate debug message with a thread ID
The debug message is complemented with a thread ID.
|
explicit |
constructor
| [in] | wrappee | output print policy object to be wrapped |
|
overridevirtual |
Make a copy of this print policy with a new name.
| name | the new name |
Implements Acts::Logging::OutputPrintPolicy.
|
overridevirtual |
flush the debug message to the destination stream
| [in] | lvl | debug level of debug message |
| [in] | input | text of debug message |
This function prepends the thread ID to the debug message and then delegates the flushing of the whole message to its wrapped object.
Reimplemented from Acts::Logging::OutputDecorator.