class Asciidoctor::Logger::BasicFormatter

Constants

SEVERITY_LABEL_SUBSTITUTES

Public Instance Methods

call(severity, _, progname, msg) click to toggle source
# File lib/asciidoctor/logging.rb, line 25
def call severity, _, progname, msg
  %(#{progname}: #{SEVERITY_LABEL_SUBSTITUTES[severity] || severity}: #{::String === msg ? msg : msg.inspect}#{LF})
end