Sha256: f7884c4d9ff8870493b823ff0d68ce6943a28e61742f2cdde3af788f77f9551b
Contents?: true
Size: 539 Bytes
Versions: 5
Compression:
Stored size: 539 Bytes
Contents
# Copyright (C) 2008-2011 AMEE UK Ltd. - http://www.amee.com # Released as Open Source Software under the BSD 3-Clause license. See LICENSE.txt for details. require File.expand_path(File.dirname(__FILE__) + '/spec_helper') describe Logger do it "Should create default error log" do AMEE::Logger::log.should be_a Log4r::Logger AMEE::Logger::log.debug("Test log message") end it "Can log to a different logger" do AMEE::Logger.to Log4r::Logger.new('Mylogger') AMEE::Logger::log.debug("Test log message 2") end end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
amee-3.2.1 | spec/logger_spec.rb |
amee-3.2.0 | spec/logger_spec.rb |
amee-3.1.2 | spec/logger_spec.rb |
amee-3.1.1 | spec/logger_spec.rb |
amee-3.0.1 | spec/logger_spec.rb |