Sha256: 495c6daf353da5bf224af18885117bb8cf83b54d274f36b1816e6bd6069dc6a5

Contents?: true

Size: 408 Bytes

Versions: 2

Compression:

Stored size: 408 Bytes

Contents

require 'pathname'
require 'fileutils'
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

2 entries across 2 versions & 1 rubygems

Version Path
slf4r-0.3.0 spec/wrapper_logger_spec.rb
slf4r-0.2.0 spec/wrapper_logger_spec.rb