![]() |
ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
mirror debug message More...
Inheritance diagram for Acts::Logging::MirrorOutputDecorator:
Collaboration diagram for Acts::Logging::MirrorOutputDecorator:Public Member Functions | |
| MirrorOutputDecorator (std::unique_ptr< OutputPrintPolicy > wrappee, unsigned int maxWidth=180) | |
| 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 | |
Private Attributes | |
| unsigned int | m_maxWidth |
| maximum width of field for printing the name | |
mirror debug message
This is just a fun example decorator which mirrors the debug message.
Definition at line 20 of file CustomDefaultLogger.cpp.
View newest version in sPHENIX GitHub at line 20 of file CustomDefaultLogger.cpp
|
inline |
constructor
| [in] | wrappee | output print policy object to be wrapped |
| [in] | maxWidth | maximum width of field used for name |
Definition at line 26 of file CustomDefaultLogger.cpp.
View newest version in sPHENIX GitHub at line 26 of file CustomDefaultLogger.cpp
|
inlineoverridevirtual |
flush the debug message to the destination stream
| [in] | lvl | debug level of debug message |
| [in] | input | text of debug message |
This function inverts the given string and flushes it to the right.
Reimplemented from Acts::Logging::OutputDecorator.
Definition at line 36 of file CustomDefaultLogger.cpp.
View newest version in sPHENIX GitHub at line 36 of file CustomDefaultLogger.cpp
References Acts::Logging::OutputDecorator::flush(), m_maxWidth, reverse, and right.
Here is the call graph for this function:
|
private |
maximum width of field for printing the name
Definition at line 46 of file CustomDefaultLogger.cpp.
View newest version in sPHENIX GitHub at line 46 of file CustomDefaultLogger.cpp
Referenced by flush().