mirror of
https://github.com/gabime/spdlog.git
synced 2025-10-01 19:09:03 +08:00
renamed level::to_str() to level::to_c_str()
This commit is contained in:
@@ -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];
|
||||
}
|
||||
|
Reference in New Issue
Block a user