diff options
Diffstat (limited to 'lib/asciidoctor/interdoc_reftext/resolver.rb')
-rw-r--r-- | lib/asciidoctor/interdoc_reftext/resolver.rb | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/lib/asciidoctor/interdoc_reftext/resolver.rb b/lib/asciidoctor/interdoc_reftext/resolver.rb index cc32fd6..a5e6282 100644 --- a/lib/asciidoctor/interdoc_reftext/resolver.rb +++ b/lib/asciidoctor/interdoc_reftext/resolver.rb @@ -20,17 +20,8 @@ module Asciidoctor::InterdocReftext logger ||= if defined? ::Asciidoctor::LoggerManager ::Asciidoctor::LoggerManager.logger - elsif defined? ::Logger - ::Logger.new(STDERR) else - # Fake logger for Opal. - # TODO: Remove after update to Asciidoctor 1.5.7 or Opal with Logger. - Object.new.tap do |o| - # rubocop: disable MethodMissing - def o.method_missing(_, *args) - STDERR.puts(*args) - end - end + ::Logger.new(STDERR) end @document = document |