#include <logger.hpp>
Inheritance diagram for SimpleLogger:
Public Member Functions | |
virtual void | log (std::string const &msg, LoggerLevel msg_level=EVERYTHING) const |
Write a log message to a Logger. | |
virtual void | error (std::string const &msg) const |
Write an error to a Logger for immediate output. |
void log | ( | std::string const & | msg, | |
LoggerLevel | msg_level = EVERYTHING | |||
) | const [virtual] |
Write a log message to a Logger.
A message passed to log may be cached or filtered as necessary. If immediate output is desired, use the error() method.
Implements LoggerInterface.
void error | ( | std::string const & | msg | ) | const [virtual] |
Write an error to a Logger for immediate output.
A message passed to this method will be bypass all filtering/caching mechanisms. Use judiciously.
Implements LoggerInterface.