README.md in semantic_logger-0.8.1 vs README.md in semantic_logger-0.9.0

- old
+ new

@@ -723,18 +723,19 @@ Basic outline for an Appender: ```ruby require 'semantic_logger' -class SimpleAppender < SemanticLogger::Base +class SimpleAppender < SemanticLogger::Appender::Base def initialize(level=nil, &block) # Set the log level and formatter if supplied super(level, &block) end - # Just display the log struct + # Display the log struct and the text formatted output def log(log) p log + puts @formatter.call(log) end # Optional def flush puts "Flush :)"