mirror of
https://github.com/gabime/spdlog.git
synced 2024-12-25 10:01:33 +08:00
astyle
This commit is contained in:
parent
a9dbfb8b0e
commit
ece27ac952
@ -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];
|
||||||
|
Loading…
Reference in New Issue
Block a user