README.md in logstop-0.2.1 vs README.md in logstop-0.2.2

- old
+ new

@@ -32,28 +32,26 @@ ``` And add it to your logger: ```ruby -logger.formatter = Logstop::Formatter.new(logger.formatter) +Logstop.guard(logger) ``` ### Rails Create `config/initializers/logstop.rb` with: ```ruby -Rails.logger.formatter = Logstop::Formatter.new(Rails.logger.formatter) +Logstop.guard(Rails.logger) ``` -**Note:** In the Rails console with the default logger, logs show up unfiltered in STDOUT, but filtered in the log file. This is fixed on master. - ## Options To scrub IP addresses, use: ```ruby -Logstop::Formatter.new(formatter, ip: true) +Logstop.guard(logger, ip: true) ``` To scrub outside of logging, use: ```ruby