Analysis Software
Documentation for sPHENIX simulation software
|
default print policy for debug messages More...
#include <acts/blob/sPHENIX/Core/include/Acts/Utilities/Logger.hpp>
Public Member Functions | |
DefaultPrintPolicy (std::ostream *out=&std::cout) | |
constructor | |
void | flush (const Level &lvl, const std::string &input) final |
flush the debug message to the destination stream | |
const std::string & | name () const override |
std::unique_ptr < OutputPrintPolicy > | clone (const std::string &name) const override |
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 | |
default print policy for debug messages
This class allows to print debug messages without further modifications to a specified output stream.
Definition at line 554 of file Logger.hpp.
View newest version in sPHENIX GitHub at line 554 of file Logger.hpp
|
inlineexplicit |
constructor
[in] | out | pointer to output stream object |
out
is non-zero Definition at line 561 of file Logger.hpp.
View newest version in sPHENIX GitHub at line 561 of file Logger.hpp
|
inlineoverridevirtual |
Make a copy of this print policy with a new name
name | the new name |
Implements Acts::Logging::OutputPrintPolicy.
Definition at line 595 of file Logger.hpp.
View newest version in sPHENIX GitHub at line 595 of file Logger.hpp
References m_out.
|
inlinefinalvirtual |
flush the debug message to the destination stream
[in] | lvl | debug level of debug message |
[in] | input | text of debug message |
Implements Acts::Logging::OutputPrintPolicy.
Definition at line 567 of file Logger.hpp.
View newest version in sPHENIX GitHub at line 567 of file Logger.hpp
References Acts::Logging::getFailureThreshold(), digitization_config::input, and Acts::Logging::levelName().
|
inlineoverridevirtual |
Fulfill OutputPrintPolicy
interface. This policy doesn't actually have a name, so the assumption is that somewhere in the decorator hierarchy, there is something that returns a name without delegating to a wrappee, before reaching this overload.
Implements Acts::Logging::OutputPrintPolicy.
Definition at line 586 of file Logger.hpp.
View newest version in sPHENIX GitHub at line 586 of file Logger.hpp
|
private |
pointer to destination output stream
Definition at line 599 of file Logger.hpp.
View newest version in sPHENIX GitHub at line 599 of file Logger.hpp
Referenced by clone().