|
| | ComponentLogger (AbstractComponent *component) |
| | Create a logger for a component. More...
|
| |
|
| AbstractLogger () |
| | Constructor.
|
| |
|
virtual | ~AbstractLogger () |
| | Destructor.
|
| |
| template<typename... Args> |
| void | critical (const char *fmt, const Args &...args) |
| | Log a message at CRITICAL level. More...
|
| |
| template<typename... Args> |
| void | debug (const char *fmt, const Args &...args) |
| | Log a message at DEBUG level. More...
|
| |
| template<typename... Args> |
| void | error (const char *fmt, const Args &...args) |
| | Log a message at ERROR level. More...
|
| |
| template<typename... Args> |
| void | info (const char *fmt, const Args &...args) |
| | Log a message at INFO level. More...
|
| |
| template<typename... Args> |
| void | trace (const char *fmt, const Args &...args) |
| | Log a message at TRACE level. More...
|
| |
| template<typename... Args> |
| void | warn (const char *fmt, const Args &...args) |
| | Log a message at WARN level. More...
|
| |
|
|
static void | clear () |
| | Clear all loggers information.
|
| |
| static AbstractLogger * | get_logger (const std::string &name) |
| | Get a logger by its name. More...
|
| |
|
static void | initialize () |
| | Initialize the logging framework with default parameters.
|
| |
| static void | initialize (std::istream &is) |
| | Initialize the logging framework from an input stream. More...
|
| |
| static void | initialize (const std::string &s) |
| | Initialize the logging framework from a string. More...
|
| |
| static void | initialize (const YAML::Node &n) |
| | Initialize the logging framework from a YAML node. More...
|
| |
| static spdlog::level::level_enum | level_enum (const std::string &lvl) |
| | Convert a string to a log level. More...
|
| |
|
static std::shared_ptr< spdlog::logger > | default_logger_ |
| | Default logger when no category specified.
|
| |
|
static std::map< std::string, std::vector< std::shared_ptr< spdlog::logger > > > | loggers |
| | Store spdlog loggers associated to the categories.
|
| |
Class of a MAUVE logger for a component.