46 {
48 switch (entry.severity) {
51 break;
54 break;
57 break;
60 break;
63 break;
66 break;
69 break;
70 default:
72 break;
73 }
74 }
75
77
79
81
82 if constexpr (std::is_same_v<Entry, JournalEntry>) {
83 os << entry.message;
84 if (entry.location.file_name() != nullptr) {
87 }
88 } else {
89 os << entry.message;
90 if (entry.file_name != nullptr) {
93 }
94 }
95
98 }
99
100 os << std::endl;
101 }
static constexpr std::string_view Yellow
static constexpr std::string_view BrightBlue
static constexpr std::string_view White
static constexpr std::string_view Blue
static constexpr std::string_view Reset
static constexpr std::string_view Green
static constexpr std::string_view BgRed
static constexpr std::string_view Cyan
static constexpr std::string_view BrightRed
static constexpr std::string_view Magenta
constexpr std::string_view enum_to_string(EnumType value) noexcept
Universal enum to string converter using magic_enum (original case)