mirror of
https://github.com/gabime/spdlog.git
synced 2025-01-24 06:32:06 +08:00
Merge pull request #1651 from bareya/make_load_env_levels_inline
Make load_env_levels inline function
This commit is contained in:
commit
30f738e49a
@ -25,7 +25,7 @@
|
||||
|
||||
namespace spdlog {
|
||||
namespace cfg {
|
||||
void load_env_levels()
|
||||
inline void load_env_levels()
|
||||
{
|
||||
auto env_val = details::os::getenv("SPDLOG_LEVEL");
|
||||
auto levels = helpers::extract_levels(env_val);
|
||||
|
Loading…
Reference in New Issue
Block a user