This commit is contained in:
gabime 2014-11-22 10:29:06 +02:00
parent a9dbfb8b0e
commit ece27ac952
6 changed files with 61 additions and 60 deletions

View File

@ -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];