lib/semantic_logger/processor.rb in semantic_logger-4.8.2 vs lib/semantic_logger/processor.rb in semantic_logger-4.9.0
- old
+ new
@@ -13,10 +13,10 @@
# For example when an appender is not working etc..
# By default logs to $stderr
def self.logger
@logger ||=
begin
- l = SemanticLogger::Appender::File.new(io: $stderr, level: :warn)
+ l = SemanticLogger::Appender::IO.new($stderr, level: :warn)
l.name = name
l
end
end