lib/semantic_logger/appender/honeybadger.rb in semantic_logger-4.2.2 vs lib/semantic_logger/appender/honeybadger.rb in semantic_logger-4.3.0
- old
+ new
@@ -35,11 +35,11 @@
# Default: SemanticLogger.host
#
# application: [String]
# Name of this application to appear in log messages.
# Default: SemanticLogger.application
- def initialize(level: :error, formatter: nil, filter: nil, application: nil, host: nil, &block)
- super(level: level, formatter: formatter, filter: filter, application: application, host: host, &block)
+ def initialize(level: :error, **args, &block)
+ super(level: level, **args, &block)
end
# Send an error notification to honeybadger
def log(log)
context = formatter.call(log, self)