#include <loggingBaseLog.h>
Inheritance diagram for Logging::BaseLog:
Public Types | |
enum | Priority { LM_SHUTDOWN = 01, LM_TRACE = 02, LM_DEBUG = 04, LM_INFO = 010, LM_NOTICE = 020, LM_WARNING = 040, LM_ERROR = 0200, LM_CRITICAL = 0400, LM_ALERT = 01000, LM_EMERGENCY = 02000 } |
Public Member Functions | |
virtual | ~BaseLog () |
virtual void | log (Priority priority, const std::string &message, const std::string &file, unsigned long line, const std::string &method) |
virtual void | log (const LogRecord &lr)=0 |
virtual std::string | getName () const =0 |
Static Public Attributes | |
const std::string | FIELD_UNAVAILABLE |
const std::string | GLOBAL_LOGGER_NAME |
const std::string | ANONYMOUS_LOGGER_NAME |
const std::string | STATIC_LOGGER_NAME |
|
|
|
|
Retrieves the name of this instance. Exactly what that name is depends on the subclass.
Implemented in Logging::Logger, Logging::LogSvcHandler, and Logging::StdoutHandler.
|
|
It it completely up to the subclass developer to decide exactly what this method does (e.g., writes the log to file, sends it over the network, etc.)
Implemented in Logging::Logger, Logging::LogSvcHandler, and Logging::StdoutHandler.
|
|
This method just delegates to another signature of log adding the timestamp in the process.
Reimplemented in Logging::Logger.
|
|
This constant member is the value of the anonymous logger's name. |
|
This constant member is the value of a string param of log that cannot be determined for some reason or another. |
|
This constant member is the value of the global logger's name. |
|
This constant member is the name of loggers being used from a static context. |