lib/semantic_logger/appender/file.rb in semantic_logger-3.4.1 vs lib/semantic_logger/appender/file.rb in semantic_logger-4.0.0.beta1

- old
+ new

@@ -36,10 +36,10 @@ # # # Log to screen # SemanticLogger.add_appender(io: STDOUT, formatter: :color) # # # And log to a file at the same time - # SemanticLogger::Logger.add_appender(file_name: 'application.log', formatter: :color) + # SemanticLogger.add_appender(file_name: 'application.log', formatter: :color) # # logger = SemanticLogger['test'] # logger.info 'Hello World' # # Example 2. To log all levels to file and only :info and above to screen: