asenchi / scrolls

Simple logging
MIT License
158 stars 26 forks source link

Add Scrolls#level for setting the level programmatically. #59

Closed asenchi closed 7 years ago

asenchi commented 10 years ago

This adds Scrolls#level for adjusting the logging level in code. LOG_LEVEL is also still used and defaults to Syslog::LOG_INFO.

/cc @rsanheim

asenchi commented 7 years ago

Since we have specific methods for level now (Scrolls#warn, etc), I don't think this is needed as much. I may consider it later though if there appears to be a need.