renamed level::to_str() to level::to_c_str()

This commit is contained in:
gabime
2018-07-04 02:08:28 +03:00
parent 1f801828a5
commit 1d9e2304be
3 changed files with 5 additions and 5 deletions

View File

@@ -94,7 +94,7 @@ static const char *level_names[] SPDLOG_LEVEL_NAMES;
static const char *short_level_names[]{"T", "D", "I", "W", "E", "C", "O"};
inline const char *to_str(spdlog::level::level_enum l)
inline const char *to_c_str(spdlog::level::level_enum l)
{
return level_names[l];
}