plcpeople / nodepccc

Library for node.js to communicate with some Allen-Bradley programmable controllers (PLCs)
MIT License
81 stars 24 forks source link

Add options to constructor to control log messages #19

Closed gfcittolin closed 7 years ago

gfcittolin commented 7 years ago

Hi,

I'd like to propose the same change as I've proposed to plcpeople/nodeS7#7 (yes, now I'm messing up here too :)

In summary, just add an options object to the constructor, allowing to control the verbosity of the library, maintaining backward compatibility.

plcpeople commented 7 years ago

Thank you for all 3 pull requests - much appreciated - good to see you found this library too :)