class Asciidoctor::NullLogger

Attributes

max_severity[R]

Public Class Methods

new() click to toggle source
# File lib/asciidoctor/logging.rb, line 69
def initialize
  self.level = WARN
end

Public Instance Methods

add(severity, message = nil, progname = nil) click to toggle source
# File lib/asciidoctor/logging.rb, line 73
def add severity, message = nil, progname = nil
  if (severity ||= UNKNOWN) > (@max_severity ||= severity)
    @max_severity = severity
  end
  true
end