OpenZWave / node-openzwave-shared

OpenZWave addon for Node.js (all versions) including management and security functions
Other
199 stars 113 forks source link

Add LogInitialisation boolean option #232

Closed caseywebdev closed 6 years ago

caseywebdev commented 6 years ago

Closes #156

This PR adds a LogInitialisation boolean option (defaulting to true to mirror current behavior) that allows the initial startup STDOUT to be suppressed. This is desirable when you want complete control of your program's STDOUT. It's also desirable when, for example, setting a NetworkKey with the Security API enabled and NOT wanting that key exposed in the STDOUT Options Overrides section.

I felt it more appropriate to add a new option that is specific to this node implementation rather than inferring from the open-zwave official config options Logging and ConsoleOutput as you may want to just skip this init message but keep the other options enabled.

/cc @ekarak @Jovaage @DvStephen

ekarak commented 6 years ago

Thank you!

caseywebdev commented 6 years ago

Thanks for the merge! Any idea when the next release might be?

ekarak commented 6 years ago

version 1.4.4 released just now on NPM