Sha256: f6cca2fcfd970dce57ddd8a56428b70c0207651adfb5211531081fb33d8f008d
Contents?: true
Size: 271 Bytes
Versions: 84
Compression:
Stored size: 271 Bytes
Contents
module Pheme 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
Version data entries
84 entries across 84 versions & 1 rubygems