abumq / easyloggingpp

C++ logging library. It is extremely powerful, extendable, light-weight, fast performing, thread and type safe and consists of many built-in features. It provides ability to write logs in your own customized format. It also provide support for logging your classes, third-party libraries, STL and third-party containers etc.
MIT License
3.75k stars 918 forks source link

Feature Request: support --verbose=<level> #823

Open jshort opened 1 year ago

jshort commented 1 year ago

I was debugging an app that uses cxxopts and easyloggingpp and realized that the easy logging setup was not respecting --verbose=9 but it does work with -v 9 or --verbose 9. Is there a reason standard long option format with an equals sign does not work?

The documentation says --v=9 should work but cxxopts throws an exception on this anyway but it seems to be an atypical option style (half short option half long option with equals arg).