|
The MAUVE Toolchain
|
Class of a MAUVE logger for the deployer. More...
#include <logger.hpp>


Protected Member Functions | |
| std::string | name () override |
| Get Logger category name. More... | |
| std::string | prepend (const char *fmt) override |
| Prepend log message with contextual data. More... | |
Additional Inherited Members | |
Public Member Functions inherited from mauve::runtime::AbstractLogger | |
| 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 Public Member Functions inherited from mauve::runtime::AbstractLogger | |
| 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 Protected Member Functions inherited from mauve::runtime::AbstractLogger | |
| static spdlog::level::level_enum | level_enum (const std::string &lvl) |
| Convert a string to a log level. More... | |
Static Protected Attributes inherited from mauve::runtime::AbstractLogger | |
| 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 the deployer.
|
overrideprotectedvirtual |
Get Logger category name.
Implements mauve::runtime::AbstractLogger.
|
overrideprotectedvirtual |
Prepend log message with contextual data.
| fmt | the original message |
Implements mauve::runtime::AbstractLogger.