omcaree / node-pololumaestro

Node module for control of Pololu Maestro servo controllers
14 stars 16 forks source link

Disabling logs / changing log level #8

Closed 1am closed 10 years ago

1am commented 10 years ago

Hi

I've noticed that there are different log levels for setTarget and setSpeed logging function calls. The first one uses debug whereas the later uses info and it always shows in my output. Is there a way to change the log level for node-pololumaestro library without modifying it?

achingbrain commented 10 years ago

Good point, bit of an oversight. I've changed those methods to use debug logging in v3.1.1.