class

Asciidoctor::Logger

Inherits Reference < Object

Logger that writes formatted messages to an IO (typically STDERR). Tracks the maximum severity level encountered.

Constructors

new(io : IO = STDERR, level : Severity = Severity::WARN, progname : String = "asciidoctor", formatter : Proc(Severity, String, String, String) | Nil = nil)
Source

Instance methods

add(severity : Severity, message : String, progname : String | Nil = nil) : Nil
Source
debug(message : String) : Nil
Source
error(message : String) : Nil
Source
error
Source
fatal(message : String) : Nil
Source
info(message : String) : Nil
Source
max_severity
Source
max_severity=(max_severity : Severity | Nil)
Source
warn(message : String) : Nil
Source
warn
Source

Nested types