Skip to content

Commit

Permalink
resolves #4493 support ruby3.3 Logger by properly initialize super cl…
Browse files Browse the repository at this point in the history
…ass (PR #4494)
  • Loading branch information
mtasaka authored and mojavelinux committed Sep 30, 2023
1 parent 1a0cc3f commit a583ebe
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/asciidoctor/logging.rb
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ class MemoryLogger < ::Logger
attr_reader :messages

def initialize
super nil
self.level = WARN
@messages = []
end
Expand Down Expand Up @@ -67,6 +68,7 @@ class NullLogger < ::Logger
attr_reader :max_severity

def initialize
super nil
self.level = WARN
end

Expand Down

0 comments on commit a583ebe

Please sign in to comment.