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

default print policy for debug messages More...

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

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

Public Member Functions

 DefaultPrintPolicy (std::ostream *out=&std::cout)
 constructor
 
void flush (const Level &, const std::ostringstream &input) final
 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::ostream * m_out
 pointer to destination output stream
 

Detailed Description

default print policy for debug messages

This class allows to print debug messages without further modifications to a specified output stream.

Definition at line 460 of file Logger.hpp.

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

Constructor & Destructor Documentation

Acts::Logging::DefaultPrintPolicy::DefaultPrintPolicy ( std::ostream *  out = &std::cout)
inlineexplicit

constructor

Parameters
[in]outpointer to output stream object
Precondition
out is non-zero

Definition at line 467 of file Logger.hpp.

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

Member Function Documentation

void Acts::Logging::DefaultPrintPolicy::flush ( const Level ,
const std::ostringstream &  input 
)
inlinefinalvirtual

flush the debug message to the destination stream

Parameters
[in]lvldebug level of debug message
[in]inputtext of debug message

Implements Acts::Logging::OutputPrintPolicy.

Definition at line 473 of file Logger.hpp.

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

Member Data Documentation

std::ostream* Acts::Logging::DefaultPrintPolicy::m_out
private

pointer to destination output stream

Definition at line 479 of file Logger.hpp.

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


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