43 {
45 switch (entry.severity) {
48 break;
51 break;
54 break;
57 break;
60 break;
63 break;
65 default:
67 break;
68 }
69 }
70
72
74
76
77 if constexpr (std::is_same_v<Entry, JournalEntry>) {
78 os << entry.message;
79 if (entry.location.file_name() != nullptr) {
82 }
83 } else {
84 os << entry.message;
85 if (entry.file_name != nullptr) {
88 }
89 }
90
93 }
94
95 os << '\n';
96 }
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)