MercuryDPM
Beta
|
Default functions for output generation. More...
#include <Logger.h>
Public Attributes | |
std::function< void(std::string, std::string)> | onFatal |
std::function< void(std::string, std::string)> | onError |
std::function< void(std::string, std::string)> | onWarn |
std::function< void(std::string, std::string)> | onInfo |
std::function< void(std::string, std::string)> | onVerbose |
std::function< void(std::string, std::string)> | onDebug |
Default functions for output generation.
These handlers will be called on generation of the message. The functions are of signature void (std::string moduleName, std::string message);
These functions may not return but call std::exit() instead. They may also throw any exception to allow code to gracefully recover.
std::function<void(std::string,std::string)> LoggerOutput::onDebug |
Definition at line 147 of file Logger.h.
Referenced by Logger< L >::operator()().
std::function<void(std::string,std::string)> LoggerOutput::onError |
Definition at line 143 of file Logger.h.
Referenced by Logger< L >::operator()().
std::function<void(std::string,std::string)> LoggerOutput::onFatal |
Definition at line 142 of file Logger.h.
Referenced by DPMBase::constructor(), and Logger< L >::operator()().
std::function<void(std::string,std::string)> LoggerOutput::onInfo |
Definition at line 145 of file Logger.h.
Referenced by Logger< L >::operator()().
std::function<void(std::string,std::string)> LoggerOutput::onVerbose |
Definition at line 146 of file Logger.h.
Referenced by Logger< L >::operator()().
std::function<void(std::string,std::string)> LoggerOutput::onWarn |
Definition at line 144 of file Logger.h.
Referenced by Logger< L >::operator()().