Logger class implementation. Provides (customizable) logging functionalities.
|
| | Logger (log::Severity min_severity=log::Severity::Normal, log::Verbosity verbosity=log::Verbosity::Info, bool enable_data_dumps=false) |
| |
| template<log::context Context = log::Generic, std::size_t precision = log::default_precision, typename ... Ts> |
| void | msg (log::Severity severity, log::Verbosity verbosity, std::string_view message, Ts &&...args) const |
| |
| template<log::context Context = log::Generic, typename ... Ts> |
| void | trace (std::string_view message, Ts &&...args) const |
| |
| template<log::context Context = log::Generic, typename ... Ts> |
| void | debug (std::string_view message, Ts &&...args) const |
| |
| template<log::context Context = log::Generic, typename ... Ts> |
| void | info (std::string_view message, Ts &&...args) const |
| |
| template<log::context Context = log::Generic, typename ... Ts> |
| void | warn (std::string_view message, Ts &&...args) const |
| |
| template<log::context Context = log::Generic, typename ... Ts> |
| void | error (std::string_view message, Ts &&...args) const |
| |
| template<log::context Context = log::Generic, typename ... Ts> |
| void | fatal (std::string_view message, Ts &&...args) const |
| |
| template<std::size_t precision = log::default_precision, typename ... Ts> |
| void | data_dump (std::string_view what, Ts...data) const |
| |
| log::Severity | min_severity () const |
| |
| void | set_min_severity (log::Severity severity) |
| |
| log::Verbosity | verbosity () const |
| |
| void | set_verbosity (log::Verbosity verbosity) |
| |
| bool | data_dumps_enabled () const |
| |
| void | enable_data_dumps (bool enable) |
| |