|
Embedded Artistry Framework
Embedded Systems C++ Framework
|
Log definitions. More...
Enumerations | |
| enum | level { off = LOG_LEVEL_OFF, critical = LOG_LEVEL_CRITICAL, error = LOG_LEVEL_ERROR, warn = LOG_LEVEL_WARN, info = LOG_LEVEL_INFO, debug = LOG_LEVEL_DEBUG, verbose = LOG_LEVEL_VERBOSE } |
| C++ log level definitions. More... | |
Functions | |
| constexpr std::string_view | to_str (level l) noexcept |
| Get the name of a log level. More... | |
| constexpr const char * | to_c_str (level l) noexcept |
| Get the name of a log level as a C-string. More... | |
| constexpr const char * | to_short_c_str (level l) noexcept |
| Get the short name of a log level as a C-string. More... | |
Variables | |
| constexpr logger::level | LOG_LEVEL_LIMIT = static_cast<logger::level>(LOG_LEVEL) |
| Global log level limit. More... | |
| constexpr std::string_view level_string_names [] | LOG_LEVEL_NAMES |
| Declare a global array of log level names. More... | |
| constexpr const char *level_short_names [] | LOG_LEVEL_SHORT_NAMES |
Log definitions.
| enum embvm::logger::level |
|
inlinenoexcept |
Get the name of a log level as a C-string.
| l | The level to get the name for. |
|
inlinenoexcept |
Get the short name of a log level as a C-string.
| l | The level to get the short name for. |
Referenced by embvm::LoggerBase< TLock >::log().
|
inlinenoexcept |
Get the name of a log level.
| l | The level to get the name for. |
|
inline |
Global log level limit.
Referenced by embvm::LoggerBase< TLock >::level().
|
inline |
Declare a global array of log level names.
|
inline |
1.8.15