README.txt in slf4r-0.1.1 vs README.txt in slf4r-0.2.0
- old
+ new
@@ -37,11 +37,10 @@
appender = Logging::Appender.stdout
appender.layout = Logging::Layouts::Pattern.new(:pattern => "%d [%-l] (%c) %m\n")
logger = Logging::Logger.new(:root)
logger.add_appenders(appender)
logger.level = :debug
-logger.info "initialized logger . . ."
=== using with ruby logger
require 'slf4r/ruby_logger'
@@ -49,12 +48,12 @@
require 'log4r_adapter'
=== using with rails/merb/datamapper logger
-require 'slf4r/wrappered_logger'
+require 'slf4r/wrapped_logger'
-LoggerFacade4WrappedLogger.logger(framwork_logger)
+Slf4r::LoggerFacade4WrappedLogger.logger = framwork_logger
=== getting an instance of a logger
Slf4r::LoggerFacade.new("Full::Qualified::Class::Name")