|
microfmt
Zero-allocation C++ formatting for constrained environments
|
Structured log-record types and severity levels. More...
#include "../microfmt.hpp"#include <cstdint>#include <reloco/type_id.hpp>#include <source_location>#include <string_view>

Go to the source code of this file.
Classes | |
| struct | microfmt::log::log_msg |
| Structured log record forwarded by a logger to each sink. More... | |
Namespaces | |
| namespace | microfmt |
| namespace | microfmt::log |
Enumerations | |
| enum class | microfmt::log::level : uint8_t { microfmt::log::trace = 0 , microfmt::log::debug , microfmt::log::info , microfmt::log::warn , microfmt::log::err , microfmt::log::critical , microfmt::log::off } |
| Shared log severity levels in ascending order. More... | |
Functions | |
| constexpr microfmt::string_view | microfmt::log::to_string_view (level lvl) noexcept |
| constexpr microfmt::string_view | microfmt::log::to_short_string (level lvl) noexcept |
| RELOCO_TYPE_ID_NAME (microfmt::log::log_msg, "microfmt::log::log_msg") | |
| RELOCO_TYPE_ID_NAME (microfmt::log::level, "microfmt::log::level") | |
Structured log-record types and severity levels.
| RELOCO_TYPE_ID_NAME | ( | microfmt::log::level | , |
| "microfmt::log::level" | |||
| ) |
| RELOCO_TYPE_ID_NAME | ( | microfmt::log::log_msg | , |
| "microfmt::log::log_msg" | |||
| ) |