noderaider / redux-idle-monitor

A Redux component to schedule events at stages of user idleness across multiple browser tabs.
https://noderaider.github.io/redux-idle-monitor/
MIT License
105 stars 9 forks source link

Disable console info messages #5

Closed stefanbaumg closed 8 years ago

stefanbaumg commented 8 years ago

Is there any way to disable the console.info messages such as idle | info: 'activity detection starting' or idle | info: 'Setting local tab to active'?

cchamberlain commented 8 years ago

Sorry about that, I've been meaning to get to it. I will publish a release tomorrow.

cchamberlain commented 8 years ago

Published, should be fixed in 0.4.4.

Default now is to only log on errors. There is an undocumented level string option that can be provided which lets you tailor to the common log levels (for debugging). I'll document the other options in the near future.

Thanks for reporting!

stefanbaumg commented 8 years ago

Wow, that was fast! Thanks!