Skip to content

Commit

Permalink
Merge pull request #74 from mtasaka/ruby33-logger
Browse files Browse the repository at this point in the history
Support ruby3.3 Logger by properly initialize super class
  • Loading branch information
tpowell-progress authored Jul 12, 2024
2 parents 29fb37a + 139b79c commit c9d3e92
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions lib/mixlib/log/logger.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,7 @@ def trace?; @level <= TRACE; end
# Create an instance.
#
def initialize(logdev)
@progname = nil
@level = DEBUG
@default_formatter = Formatter.new
@formatter = nil
@logdev = nil
super(nil)
if logdev
@logdev = LocklessLogDevice.new(logdev)
end
Expand Down

0 comments on commit c9d3e92

Please sign in to comment.