41#ifndef RTYPE_LOGLEVEL_HPP_
42 #define RTYPE_LOGLEVEL_HPP_
46 #include <string_view>
57 enum class Level : std::uint8_t {
70struct std::formatter<
rtp::log::Level> : std::formatter<std::string_view> {
71 constexpr auto parse(std::format_parse_context& ctx) {
86 #include "LogLevel.inl"
Level
Severity levels for log messages.
@ Warning
Warning messages for potentially harmful situations.
@ Info
General informational messages.
@ None
No logging (used to disable logging)
@ Fatal
Fatal error messages indicating critical failures.
@ Error
Error messages for error events.
@ Debug
Detailed information for debugging purposes.
constexpr std::string_view toString(Level level) noexcept