lib/semantic_logger/logger.rb in semantic_logger-2.1.0 vs lib/semantic_logger/logger.rb in semantic_logger-2.2.0

- old
+ new

@@ -3,9 +3,13 @@ # Logger stores the class name to be used for all log messages so that every # log message written by this instance will include the class name module SemanticLogger class Logger < Base + # Add unused formatter to support Rails 4 logging + # Formatters must be set at the appender level, not at the logger level + attr_accessor :formatter + # Returns a Logger instance # # Return the logger for a specific class, supports class specific log levels # logger = SemanticLogger::Logger.new(self) # OR