abumq / easyloggingpp

C++ logging library. It is powerful, supports asynchronous low latency, 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.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Feature Request: support --verbose=<level>

jshort opened this issue · comments

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).