#include <ored/utilities/log.hpp>
Inheritance diagram for StderrLogger:
Collaboration diagram for StderrLogger:Public Member Functions | |
| StderrLogger (bool alertOnly=false) | |
| Constructor. More... | |
| virtual | ~StderrLogger () |
| Destructor. More... | |
| virtual void | log (unsigned l, const std::string &s) override |
| The log callback that writes to stderr. More... | |
Public Member Functions inherited from Logger | |
| virtual | ~Logger () |
| Destructor. More... | |
| virtual void | log (unsigned level, const std::string &s)=0 |
| The Log call back function. More... | |
| const std::string & | name () |
| Returns the Logger name. More... | |
Static Public Attributes | |
| static const std::string | name = "StderrLogger" |
| the name "StderrLogger" More... | |
Private Attributes | |
| bool | alertOnly_ |
Additional Inherited Members | |
Protected Member Functions inherited from Logger | |
| Logger (const std::string &name) | |
| Constructor. More... | |
| StderrLogger | ( | bool | alertOnly = false | ) |
Constructor.
This logger writes all logs to stderr. If alertOnly is set to true, it will only write alerts.
Definition at line 173 of file log.hpp.
|
virtual |
|
overridevirtual |
|
static |