lib/sup/logger.rb in sup-0.16.0 vs lib/sup/logger.rb in sup-0.17.0
- old
+ new
@@ -6,10 +6,10 @@
## simple centralized logger. outputs to multiple sinks by calling << on them.
## also keeps a record of all messages, so that adding a new sink will send all
## previous messages to it by default.
class Logger
- include Singleton
+ include Redwood::Singleton
LEVELS = %w(debug info warn error) # in order!
def initialize level=nil
level ||= ENV["SUP_LOG_LEVEL"] || "info"