Sha256: ef20032d4704850605850da1a6e31cfedc474745adf9992a093469e8686f9a49

Contents?: true

Size: 424 Bytes

Versions: 3

Compression:

Stored size: 424 Bytes

Contents

require 'pathname'
require 'fileutils'
require 'logger'
require Pathname(__FILE__).dirname.expand_path + 'logger_helper'

basedir = Pathname(__FILE__).dirname.parent.expand_path
load basedir + 'lib' + 'slf4r' + 'wrapped_logger.rb'

logger = ::Logger.new(basedir + 'tmp' + 'wrapped.txt')
logger.level == ::Logger::DEBUG

Slf4r::LoggerFacade4WrappedLogger.logger = logger

behave_as_logger(Slf4r::LoggerFacade.new('wrapped'))

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
slf4r-0.4.2 spec/wrapper_logger_spec.rb
slf4r-0.4.1 spec/wrapper_logger_spec.rb
slf4r-0.4.0 spec/wrapper_logger_spec.rb