10Duke Enterprise C++ Client
|
#include <StdOutLogger.h>
Very, very simple logger, which dumps all to std::out.
Sort of qnd sink.
Protected Member Functions | |
void | write (enum Logger::LOG_LEVEL level, const char *message) override |
Writes the log message. | |
Additional Inherited Members | |
Public Types inherited from tenduke::log::Logger | |
enum | LOG_LEVEL { LOG_OFF , LOG_ERROR , LOG_WARNING , LOG_INFO , LOG_DEBUG , LOG_TRACE } |
Log levels. More... | |
Public Member Functions inherited from tenduke::log::Logger | |
Logger (std::string name="", enum LOG_LEVEL level=LOG_INFO) | |
Constructs new Logger instance. | |
virtual void | debug (const char *message) |
Log message at DEBUG-level. | |
virtual void | debug (const std::string &message) |
Log message at DEBUG-level. | |
virtual void | error (const char *message) |
Log message at ERROR-level. | |
virtual void | error (const std::string &message) |
Log message at ERROR-level. | |
virtual void | info (const char *message) |
Log message at INFO-level. | |
virtual void | info (const std::string &message) |
Log message at INFO-level. | |
virtual void | trace (const char *message) |
Log message at TRACE-level. | |
virtual void | trace (const std::string &message) |
Log message at TRACE-level. | |
virtual void | warning (const char *message) |
Log message at WARNING-level. | |
virtual void | warning (const std::string &message) |
Log message at WARNING-level. | |
virtual void | log (enum LOG_LEVEL atLevel, const char *message) |
Log message at given log-level. | |
virtual void | setLogLevel (enum LOG_LEVEL level) |
Sets the log level of this logger. | |
Protected Attributes inherited from tenduke::log::Logger | |
const std::string | name |
Name of this logger. | |
|
overrideprotectedvirtual |