Make load_env_levels inline function

This commit is contained in:
Piotr Barejko 2020-08-19 12:43:41 -07:00
parent 83b40b8cda
commit 726ca01e5c

View File

@ -25,7 +25,7 @@
namespace spdlog { namespace spdlog {
namespace cfg { namespace cfg {
void load_env_levels() inline void load_env_levels()
{ {
auto env_val = details::os::getenv("SPDLOG_LEVEL"); auto env_val = details::os::getenv("SPDLOG_LEVEL");
auto levels = helpers::extract_levels(env_val); auto levels = helpers::extract_levels(env_val);