Sha256: 99d6048811c035a5208bbcb49e61dfc3f9070e78d041669e9897818c0e75a627
Contents?: true
Size: 388 Bytes
Versions: 2
Compression:
Stored size: 388 Bytes
Contents
require 'logger' require 'active_support/concern' module Rmega def self.logger @logger ||= begin logger = Logger.new($stdout) logger.level = Logger::ERROR logger end end module Loggable extend ActiveSupport::Concern def logger Rmega.logger end module ClassMethods def logger Rmega.logger end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rmega-0.1.7 | lib/rmega/loggable.rb |
rmega-0.1.6 | lib/rmega/loggable.rb |