-
Notifications
You must be signed in to change notification settings - Fork 4.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added apply_logger_env_levels
#2649
Conversation
Fix #2648 |
This method applies levels which is set by environment variable `SPDLOG_LEVEL` to the a single controller. Usefull for loading configuration into manually created loggers.
1e8b408
to
1f6e866
Compare
Thanks @afshinpir |
@afshinpir Sorry about this after merged. I forgot to submit my review. spdlog/include/spdlog/details/registry-inl.h Lines 290 to 296 in 51bcff8
|
@tt4g I can open a new PR, but since |
@afshinpir I agree with your thoughts. |
This method applies levels which is set by environment variable `SPDLOG_LEVEL` to the a single controller. Usefull for loading configuration into manually created loggers.
This method applies levels which is set by environment variable
SPDLOG_LEVEL
to the a single logger. Useful for loading configuration into manually created loggers.