From debb1c5ff33752e553a4082b27d8b6db5b8368b7 Mon Sep 17 00:00:00 2001 From: Andrew Haines Date: Fri, 1 May 2020 20:20:43 +0100 Subject: [PATCH] Fix deprecation warning on Ruby 2.7 --- lib/ougai/logger.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ougai/logger.rb b/lib/ougai/logger.rb index 545738d..91632fa 100644 --- a/lib/ougai/logger.rb +++ b/lib/ougai/logger.rb @@ -11,8 +11,8 @@ class Logger < ::Logger attr_accessor :default_message, :exc_key - def initialize(*args) - super(*args) + def initialize(*, **) + super @before_log = nil @default_message = 'No message' @exc_key = :err