|
| | Log () |
| |
| | Log (bool default_loggers) |
| |
| void | add (std::unique_ptr< LogFacility > target) |
| |
| void | add (int min_severity, std::unique_ptr< LogFacility > target) |
| |
| void | add (int min_severity, int max_severity, std::unique_ptr< LogFacility > target) |
| |
| void | log_raw (int severity, const std::string &s) |
| |
| void | log (int severity, const std::string &s) |
| |
| template<typename... Arguments> |
| void | log (int severity, const std::string &fmt, const Arguments &... args) |
| |
| void | log (LogSeverity severity, const std::string &s) |
| |
| template<typename... Arguments> |
| void | log (LogSeverity severity, const std::string &fmt, const Arguments &... args) |
| |
| void | add (LogSeverity min_severity, std::unique_ptr< LogFacility > target) |
| |
| void | add (LogSeverity min_severity, LogSeverity max_severity, std::unique_ptr< LogFacility > target) |
| |
| void | log_raw (LogSeverity severity, const std::string &s) |
| |
| void | debug (const std::string &s) |
| |
| template<typename... Arguments> |
| void | debug (const std::string &s, const Arguments &... args) |
| |
| void | info (const std::string &s) |
| |
| template<typename... Arguments> |
| void | info (const std::string &s, const Arguments &... args) |
| |
| void | notice (const std::string &s) |
| |
| template<typename... Arguments> |
| void | notice (const std::string &s, const Arguments &... args) |
| |
| void | warning (const std::string &s) |
| |
| template<typename... Arguments> |
| void | warning (const std::string &s, const Arguments &... args) |
| |
| void | error (const std::string &s) |
| |
| template<typename... Arguments> |
| void | error (const std::string &s, const Arguments &... args) |
| |
| void | critical (const std::string &s) |
| |
| template<typename... Arguments> |
| void | critical (const std::string &s, const Arguments &... args) |
| |
| void | alert (const std::string &s) |
| |
| template<typename... Arguments> |
| void | alert (const std::string &s, const Arguments &... args) |
| |
| void | emergency (const std::string &s) |
| |
| template<typename... Arguments> |
| void | emergency (const std::string &s, const Arguments &... args) |
| |
| void | warn (const std::string &s) |
| |
| template<typename... Arguments> |
| void | warn (const std::string &s, const Arguments &... args) |
| |
| void | err (const std::string &s) |
| |
| template<typename... Arguments> |
| void | err (const std::string &s, const Arguments &... args) |
| |
| void | crit (const std::string &s) |
| |
| template<typename... Arguments> |
| void | crit (const std::string &s, const Arguments &... args) |
| |
| void | emerg (const std::string &s) |
| |
| template<typename... Arguments> |
| void | emerg (const std::string &s, const Arguments &... args) |
| |
| size_t | num_loggers () |
| |
| LogSeverity | severity () |
| |
Multiple output, versatile logger.
NB: log severities are backwards; e.g., debug is numerically larger than emergency, but is considered lower severity. Thus, min_severity and max_severity throughout are referring to severity, not numeric representation, which were copied from syslog's paradigm.
Example
Definition at line 47 of file Log.hpp.