Skip to content

Commit

Permalink
Fix deprecation warning on Ruby 2.7
Browse files Browse the repository at this point in the history
  • Loading branch information
haines committed May 1, 2020
1 parent 2db32e1 commit debb1c5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/ougai/logger.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit debb1c5

Please sign in to comment.