class Asciidoctor::Logging::StubLogger
Public Class Methods
debug(message = nil)
click to toggle source
# File lib/asciidoctor-epub3/ext/asciidoctor/logging_shim.rb, line 7 def debug message = nil puts %(asciidoctor: DEBUG: #{message || (block_given? ? yield : '???')}) if $VERBOSE end
error(message = nil)
click to toggle source
# File lib/asciidoctor-epub3/ext/asciidoctor/logging_shim.rb, line 19 def error message = nil ::Kernel.warn %(asciidoctor: ERROR: #{message || (block_given? ? yield : '???')}) end
fatal(message = nil)
click to toggle source
# File lib/asciidoctor-epub3/ext/asciidoctor/logging_shim.rb, line 23 def fatal message = nil ::Kernel.warn %(asciidoctor: FATAL: #{message || (block_given? ? yield : '???')}) end
info(message = nil)
click to toggle source
# File lib/asciidoctor-epub3/ext/asciidoctor/logging_shim.rb, line 11 def info message = nil puts %(asciidoctor: INFO: #{message || (block_given? ? yield : '???')}) if $VERBOSE end
warn(message = nil)
click to toggle source
# File lib/asciidoctor-epub3/ext/asciidoctor/logging_shim.rb, line 15 def warn message = nil ::Kernel.warn %(asciidoctor: WARNING: #{message || (block_given? ? yield : '???')}) end