Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Acts::Logging::OutputPrintPolicy Class Referenceabstract

abstract base class for printing debug output More...

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

+ Inheritance diagram for Acts::Logging::OutputPrintPolicy:

Public Member Functions

virtual ~OutputPrintPolicy ()=default
 virtual default destructor
 
virtual void flush (const Level &lvl, const std::string &input)=0
 handle output of debug message
 
virtual const std::string & name () const =0
 
virtual std::unique_ptr
< OutputPrintPolicy
clone (const std::string &name) const =0
 

Detailed Description

abstract base class for printing debug output

Implementations of this interface need to define how and where to print debug messages (e.g. to a file, to a stream into a database etc).

Definition at line 240 of file Logger.hpp.

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

Constructor & Destructor Documentation

virtual Acts::Logging::OutputPrintPolicy::~OutputPrintPolicy ( )
virtualdefault

virtual default destructor

Member Function Documentation

virtual std::unique_ptr<OutputPrintPolicy> Acts::Logging::OutputPrintPolicy::clone ( const std::string &  name) const
pure virtual

Make a copy of this print policy with a new name

Parameters
namethe new name
Returns
the copy

Implemented in Acts::Logging::DefaultPrintPolicy, Acts::Logging::LevelOutputDecorator, Acts::Logging::ThreadOutputDecorator, Acts::Logging::TimedOutputDecorator, and Acts::Logging::NamedOutputDecorator.

virtual void Acts::Logging::OutputPrintPolicy::flush ( const Level lvl,
const std::string &  input 
)
pure virtual

handle output of debug message

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

Implemented in Acts::Logging::DefaultPrintPolicy, Acts::Logging::LevelOutputDecorator, Acts::Logging::ThreadOutputDecorator, Acts::Logging::TimedOutputDecorator, Acts::Logging::NamedOutputDecorator, and Acts::Logging::OutputDecorator.

virtual const std::string& Acts::Logging::OutputPrintPolicy::name ( ) const
pure virtual

Return the name of the print policy

Returns
the name

Implemented in Acts::Logging::DefaultPrintPolicy, Acts::Logging::NamedOutputDecorator, and Acts::Logging::OutputDecorator.


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