lib/pheme/logger.rb in pheme-0.0.8 vs lib/pheme/logger.rb in pheme-0.0.9

- old
+ new

@@ -2,6 +2,10 @@ def self.log(method, text) @logger ||= ActiveSupport::TaggedLogging.new(configuration.logger) @tag ||= "pheme_#{SecureRandom.uuid}" @logger.tagged(@tag) { @logger.send(method, text) } end + + def self.logger + configuration.logger + end end