Sha256: f86dc9f35d9d274e20643c14841d1a474add694d290271eb2d505fbf9915e2be

Contents?: true

Size: 324 Bytes

Versions: 1

Compression:

Stored size: 324 Bytes

Contents

module Asciidoctor
  class StubLogger
    class << self
      def warn message
        ::Kernel.warn %(asciidoctor: WARNING: #{message})
      end

      def error message
        ::Kernel.warn %(asciidoctor: ERROR: #{message})
      end
    end
  end

  module LoggingShim
    def logger
      StubLogger
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
asciidoctor-pdf-1.5.0.alpha.17 lib/asciidoctor-pdf/asciidoctor_ext/logging_shim.rb