easyloggingpp icon indicating copy to clipboard operation
easyloggingpp copied to clipboard

Set ELPP_DISABLE_DEBUG_LOGS in config file

Open LinArcX opened this issue 5 years ago • 0 comments

Hi. i'm using configuration file to config easylogginpp: https://github.com/amrayn/easyloggingpp#using-configuration-file

It would be awesome to have this ability to disable specific logs through this config file, like these macros: https://github.com/amrayn/easyloggingpp#configuration-macros

Edit: Another idea is to set log_level through environment variable: https://github.com/gabime/spdlog/blob/b2e31721e8ea95905bc07948008941e98b5a9e84/example/example.cpp#L29

LinArcX avatar Mar 01 '21 05:03 LinArcX