From ad221b0990893b951d3eb27732fc93ffbd153416 Mon Sep 17 00:00:00 2001 From: gabime Date: Fri, 9 Mar 2018 15:27:53 +0200 Subject: [PATCH] Changed function name to level::from_str --- include/spdlog/common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/spdlog/common.h b/include/spdlog/common.h index b4e10170..4ab5e792 100644 --- a/include/spdlog/common.h +++ b/include/spdlog/common.h @@ -103,7 +103,7 @@ inline const char *to_short_str(spdlog::level::level_enum l) { return short_level_names[l]; } -inline spdlog::level::level_enum to_level_enum(const std::string &name) +inline spdlog::level::level_enum from_str(const std::string &name) { static std::unordered_map name_to_level = // map string->level {{level_names[0], level::trace}, // trace