cr3ative / homebridge-apcaccess

what if apcaccess, but in homebridge??
MIT License
8 stars 5 forks source link

Warning messages #25

Open davidjbradshaw opened 1 month ago

davidjbradshaw commented 1 month ago

I miss the warning messages they come up in yellow in the console view.

Rather than have errorLogsOnly, it would be great to change this to logLevel, with a default value of 2 and accept the following values.

This could be combined with the V2 HomeBridge fixes to create V2 of this plugin, as it would technically be a breaking change, although you could have the old setting, just set logLevel to 1 and log a warning to update the config.

cr3ative commented 1 month ago

I nearly lost my mind with the logging in this library last time around; I'd be happy to accept a PR against it!