Sha256: cc2f83f60d6f6ee776d9d4cb730574e1eeb42999400b5eca0a4f525d719698b5
Contents?: true
Size: 522 Bytes
Versions: 8
Compression:
Stored size: 522 Bytes
Contents
require 'pathname' require 'fileutils' require Pathname(__FILE__).dirname.expand_path + 'logger_helper' Object.class_eval do remove_const :Slf4r end basedir = Pathname(__FILE__).dirname.parent.expand_path load basedir + 'lib' + 'slf4r' + 'abstract_logger_facade.rb' load basedir + 'lib' + 'slf4r' + 'ruby_logger.rb' require 'slf4r/ruby_logger' facade = Slf4r::LoggerFacade4RubyLogger facade.file = basedir + 'tmp' + 'ruby_log.txt' facade.level = ::Logger::DEBUG behave_as_logger(Slf4r::LoggerFacade.new('ruby_log'))
Version data entries
8 entries across 8 versions & 1 rubygems