OpenZWave / open-zwave

a C++ library to control Z-Wave Networks via a USB Z-Wave Controller.
http://www.openzwave.net/
GNU Lesser General Public License v3.0
1.05k stars 916 forks source link

options.xml documentation could be better #1943

Open electrofloat opened 4 years ago

electrofloat commented 4 years ago

Searching through documentation I only found this on how to enable/disable/configure logging of OpenZWave: https://github.com/OpenZWave/open-zwave/wiki/Config-Options I have 2 issues with this:

Also a logrotate would be nice, but it is still under development: https://github.com/OpenZWave/open-zwave/issues/465

electrofloat commented 4 years ago

So to answer my own questions after checking the code:

Also the Enum containing the values for loglevels does not really match the docs. According to the source LogLevel_Invalid is 0, LogLevel_None is 1, etc. https://github.com/OpenZWave/open-zwave/blob/master/cpp/src/platform/Log.h#L52

Fishwaldo commented 4 years ago

Patches always welcome - for Options.xml and the wiki.