Sha256: eaef23b47da43ced41b2118005254ea3389104be8193564912efe235ba730556
Contents?: true
Size: 414 Bytes
Versions: 6
Compression:
Stored size: 414 Bytes
Contents
require 'log4r' include Log4r module EkmOmnimeter module Logging def logger @logger ||= EkmOmnimeter::Logging.logger end def self.logger @logger ||= self.configure_logger_for(self.class.name) end def self.configure_logger_for(classname) l = Logger.new(classname) l.level = ERROR l.trace = false l.add Log4r::Outputter.stderr l end end end
Version data entries
6 entries across 6 versions & 1 rubygems