Merge pull request #1651 from bareya/make_load_env_levels_inline

Make load_env_levels inline function
This commit is contained in:
Gabi Melman 2020-08-19 23:55:40 +03:00 committed by GitHub
commit 30f738e49a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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);