It would be useful to be able to initialise the default log level but
still allow CLI over-ride.

I've found a hacky fix:

Wunderbar.log_level = 'info' unless Wunderbar.log_level == 'debug' #
don't override command-line level

however that relies on knowing that debug (and only debug) is more
verbose than info.

Also modifying the formatter message is a bit messy; it would be
useful if this could be specified when creating the logger.

I don't know how to do this in Ruby - if it's even possible?

Reply via email to