lib/floe/logging.rb in floe-0.15.0 vs lib/floe/logging.rb in floe-0.15.1
- old
+ new
@@ -5,9 +5,13 @@
def self.included(base)
base.extend(self)
end
def logger
- Floe.logger
+ @logger || Floe.logger
+ end
+
+ def logger=(logger)
+ @logger = logger
end
end
end