|
| logger (const std::string &logger_name) |
| constructor Provide name of logger to associate with this class
|
|
| ~logger ()=default |
| Destructor.
|
|
void | set_level (const std::string &level) |
| inline function, wrapper to set the logger level
|
|
void | set_level (const log_level level) |
|
void | get_level (std::string &level) const |
| inline function, wrapper to get the logger level
|
|
const std::string | get_string_level () const |
|
log_level | get_level () const |
|
const std::string & | name () const |
|
void | set_name (const std::string &name) |
|
template<typename... Args> |
void | trace (format_string_t< Args... > msg, Args &&... args) |
| inline function, wrapper for TRACE message
|
|
template<typename... Args> |
void | debug (format_string_t< Args... > msg, Args &&... args) |
| inline function, wrapper for DEBUG message
|
|
template<typename... Args> |
void | info (format_string_t< Args... > msg, Args &&... args) |
| inline function, wrapper for INFO message
|
|
template<typename... Args> |
void | notice (format_string_t< Args... > msg, Args &&... args) |
| inline function, wrapper for INFO message, DEPRECATED
|
|
template<typename... Args> |
void | warn (format_string_t< Args... > msg, Args &&... args) |
| inline function, wrapper for WARN message
|
|
template<typename... Args> |
void | error (format_string_t< Args... > msg, Args &&... args) |
| inline function, wrapper for ERROR message
|
|
template<typename... Args> |
void | crit (format_string_t< Args... > msg, Args &&... args) |
| inline function, wrapper for CRITICAL message
|
|
template<typename... Args> |
void | alert (format_string_t< Args... > msg, Args &&... args) |
| inline function, wrapper for CRITICAL message, DEPRECATED
|
|
template<typename... Args> |
void | fatal (format_string_t< Args... > msg, Args &&... args) |
| inline function, wrapper for CRITICAL message, DEPRECATED
|
|
template<typename... Args> |
void | emerg (format_string_t< Args... > msg, Args &&... args) |
| inline function, wrapper for CRITICAL message, DEPRECATED
|
|
template<typename... Args> |
void | log (spdlog::level::level_enum level, format_string_t< Args... > msg, Args &&... args) |
| inline function, wrapper for logging with ad-hoc adjustable level
|
|
GR_LOG macros.
These macros wrap the standard LOG4CPP_LEVEL macros. The available macros are: LOG_DEBUG LOG_INFO LOG_WARN LOG_TRACE LOG_ERROR LOG_ALERT LOG_CRIT LOG_FATAL LOG_EMERG
Logger class for referencing loggers in python. Not needed in C++ (use macros) Wraps and manipulates loggers for python as python has no macros