lib/chillout/prefixed_logger.rb in chillout-0.5.4 vs lib/chillout/prefixed_logger.rb in chillout-0.6.0
- old
+ new
@@ -1,6 +1,12 @@
+require 'forwardable'
+
module Chillout
class PrefixedLogger
+ extend Forwardable
+
+ def_delegators :@logger, :flush
+
attr_reader :prefix
def initialize(prefix, logger)
@prefix = prefix
@logger = logger