mirror of
https://github.com/gabime/spdlog.git
synced 2025-09-29 01:29:35 +08:00
astyle
This commit is contained in:
@@ -60,7 +60,8 @@ typedef enum
|
|||||||
} level_enum;
|
} level_enum;
|
||||||
|
|
||||||
static const char* level_names[] { "trace", "debug", "info", "notice", "warning", "error", "critical",
|
static const char* level_names[] { "trace", "debug", "info", "notice", "warning", "error", "critical",
|
||||||
"alert", "emerg", "", ""};
|
"alert", "emerg", "", ""
|
||||||
|
};
|
||||||
inline const char* to_str(spdlog::level::level_enum l)
|
inline const char* to_str(spdlog::level::level_enum l)
|
||||||
{
|
{
|
||||||
return level_names[l];
|
return level_names[l];
|
||||||
|
Reference in New Issue
Block a user