EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Acts::Logging::ThreadOutputDecorator Exception Referencefinal

decorate debug message with a thread ID More...

#include <acts/blob/sPHENIX/Core/include/Acts/Utilities/Logger.hpp>

+ Inheritance diagram for Acts::Logging::ThreadOutputDecorator:
+ Collaboration diagram for Acts::Logging::ThreadOutputDecorator:

Public Member Functions

 ThreadOutputDecorator (std::unique_ptr< OutputPrintPolicy > wrappee)
 constructor
 
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::OutputDecorator
 OutputDecorator (std::unique_ptr< OutputPrintPolicy > wrappee)
 constructor wrapping actual output print policy
 
- Public Member Functions inherited from Acts::Logging::OutputPrintPolicy
virtual ~OutputPrintPolicy ()=default
 virtual default destructor
 

Detailed Description

decorate debug message with a thread ID

The debug message is complemented with a thread ID.

Definition at line 396 of file Logger.hpp.

View newest version in sPHENIX GitHub at line 396 of file Logger.hpp

Constructor & Destructor Documentation

Acts::Logging::ThreadOutputDecorator::ThreadOutputDecorator ( std::unique_ptr< OutputPrintPolicy wrappee)
inlineexplicit

constructor

Parameters
[in]wrappeeoutput print policy object to be wrapped

Definition at line 401 of file Logger.hpp.

View newest version in sPHENIX GitHub at line 401 of file Logger.hpp

Member Function Documentation

void Acts::Logging::ThreadOutputDecorator::flush ( const Level lvl,
const std::ostringstream &  input 
)
inlineoverridevirtual

flush the debug message to the destination stream

Parameters
[in]lvldebug level of debug message
[in]inputtext 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.

Definition at line 411 of file Logger.hpp.

View newest version in sPHENIX GitHub at line 411 of file Logger.hpp

References Acts::Logging::OutputDecorator::flush().

+ Here is the call graph for this function:


The documentation for this exception was generated from the following file: