Sha256: b2ea6eb245e491867493bd98a5b604878aa411b798dc52b92c58dc7750fab183

Contents?: true

Size: 377 Bytes

Versions: 9

Compression:

Stored size: 377 Bytes

Contents

# Log4r logger for AMEE rubgem
# by default, just log to stderr
# clients can change this thus
# AMEE::Log.to logtothis

module AMEE
  module Logger
    @@log=Log4r::Logger.new('AMEERuby')
    @@log.outputters=[Log4r::StderrOutputter.new('AMEERubyStdout')]
    @@log.level=Log4r::WARN
    def self.log
      @@log
    end
    def self.to(log)
      @@log=log
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
amee-2.7.0 lib/amee/logger.rb
amee-2.6.0 lib/amee/logger.rb
amee-2.5.1 lib/amee/logger.rb
amee-2.5.0 lib/amee/logger.rb
amee-2.4.0 lib/amee/logger.rb
amee-2.3.1 lib/amee/logger.rb
amee-2.3.0 lib/amee/logger.rb
amee-2.2.1 lib/amee/logger.rb
amee-2.2.0 lib/amee/logger.rb