[Suggestion] Add Homie.getLogger() #248

Closed
elbowz opened this Issue Nov 30, 2016 · 3 comments

Projects

None yet

2 participants

@elbowz
elbowz commented Nov 30, 2016

For what I figure out calling Homie.disableLogging(), Homie don't throw debug msg, but sketch output Serial << "something to print out" << endl continue to throw.

But if we use the proposed method: Homie.getLogger() << "something to print out" << endl you can disable/enable the whole logging.

Maybe a stupid idea?!

@marvinroger
Owner

No, that's a good idea. 😃

@elbowz
elbowz commented Dec 1, 2016

Great!

I think also is very very simple :)

@marvinroger marvinroger added this to the v2.0.0 milestone Dec 1, 2016
@marvinroger
Owner

Done!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment