|
tin
1.5.9
|
#include <logging.h>

Public Member Functions | |
| constexpr | Logging ()=default |
| constexpr | Logging (Logger logger) |
| constexpr void | debug (tsm::log::Kind kind, tsm::log::Record const &record) |
| constexpr void | info (tsm::log::Kind kind, tsm::log::Record const &record) |
| constexpr void | warn (tsm::log::Kind kind, tsm::log::Record const &record) |
| constexpr void | error (tsm::log::Kind kind, tsm::log::Record const &record) |
Static Public Attributes | |
| static constexpr bool | enabled = true |
| static constexpr auto | threshold = Threshold |
Logging policy adapter for user-provided logger objects.
The wrapped logger supplies debug, info, warn, and error methods that accept (Kind, Record). The threshold is a compile-time value, so disabled levels are not emitted into the generated code.
|
constexprdefault |
|
inlineexplicitconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
staticconstexpr |
|
staticconstexpr |