|
| Logger (const std::string &category) |
| Construct a logger for the given category. More...
|
|
template<level_t LEVEL, typename... ARGS> |
void | log (const char *format, ARGS...args) const |
| Log a message at a given level. More...
|
|
template<typename... ARGS> |
void | log (level_t LEVEL, const char *format, ARGS...args) const |
| Log a message at a given level. More...
|
|
template<level_t LEVEL, typename... ARGS> |
void | log (const std::string &format, ARGS...args) const |
| Log a message at a given level. More...
|
|
template<typename... ARGS> |
void | log (level_t LEVEL, const std::string &format, ARGS...args) const |
| Log a message at a given level. More...
|
|
bool | isEnabled (level_t LEVEL) const |
| Returns true if messages at the given level will be written to the log file. More...
|
|
level_t | getLevel () const |
| Returns the current log level. More...
|
|
bool | isCritEnabled () const |
| Returns true if CRIT messages will be written to the log. More...
|
|
bool | isFatalEnabled () const |
| Returns true if FATAL messages will be written to the log. More...
|
|
bool | isErrorEnabled () const |
| Returns true if ERROR messages will be written to the log. More...
|
|
bool | isWarnEnabled () const |
| Returns true if WARN messages will be written to the log. More...
|
|
bool | isInfoEnabled () const |
| Returns true if INFO messages will be written to the log. More...
|
|
bool | isDebugEnabled () const |
| Returns true if DEBUG messages will be written to the log. More...
|
|
bool | isTraceEnabled () const |
| Returns true if TRACE messages will be written to the log. More...
|
|
template<typename... ARGS> |
void | crit (const char *format, ARGS...args) const |
| Log a message at CRIT level. More...
|
|
template<typename... ARGS> |
void | fatal (const char *format, ARGS...args) const |
| Log a message at FATAL level. More...
|
|
template<typename... ARGS> |
void | error (const char *format, ARGS...args) const |
| Log a message at ERROR level. More...
|
|
template<typename... ARGS> |
void | warn (const char *format, ARGS...args) const |
| Log a message at WARN level. More...
|
|
template<typename... ARGS> |
void | info (const char *format, ARGS...args) const |
| Log a message at INFO level. More...
|
|
template<typename... ARGS> |
void | debug (const char *format, ARGS...args) const |
| Log a message at DEBUG level. More...
|
|
template<typename... ARGS> |
void | trace (const char *format, ARGS...args) const |
| Log a message at TRACE level. More...
|
|
template<typename... ARGS> |
void | crit (const std::string &format, ARGS...args) const |
| Log a message at CRIT level. More...
|
|
template<typename... ARGS> |
void | fatal (const std::string &format, ARGS...args) const |
| Log a message at FATAL level. More...
|
|
template<typename... ARGS> |
void | error (const std::string &format, ARGS...args) const |
| Log a message at ERROR level. More...
|
|
template<typename... ARGS> |
void | warn (const std::string &format, ARGS...args) const |
| Log a message at WARN level. More...
|
|
template<typename... ARGS> |
void | info (const std::string &format, ARGS...args) const |
| Log a message at INFO level. More...
|
|
template<typename... ARGS> |
void | debug (const std::string &format, ARGS...args) const |
| Log a message at DEBUG level. More...
|
|
template<typename... ARGS> |
void | trace (const std::string &format, ARGS...args) const |
| Log a message at TRACE level. More...
|
|
Class for writing to the host logger.
Log messages will be prefixed with the category.
Messages will appear for a certain log level only if the host log level is at least as verbose.