mirror of
https://github.com/gabime/spdlog.git
synced 2024-12-26 10:31:34 +08:00
Make load_env_levels inline function
This commit is contained in:
parent
83b40b8cda
commit
726ca01e5c
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user