beatsabertools / sabergen

Beat Saber song generator
GNU General Public License v3.0
3 stars 0 forks source link

Add logging module support #14

Closed ryanwersal closed 6 years ago

ryanwersal commented 6 years ago

Update cli to set appropriate log level based on debug flag

This should close #12. The idea is the application level configures the logging module as it desires to for logging (presumably stdout/stderr for cli and files for the webserver) and the library just uses the logging module as appropriate.

It may be a bit surprising to have --debug mean INFO and above but matplotlib and friends have DEBUG output which noises things up more than we want (I presume).

zvekovius commented 6 years ago

other than stderr comment, lgtm.