class

PaulBunyan::Logger

Inherits Reference < Object

Constructors

new(output : IO = STDOUT, level : Level = Level::Info)
Source

Instance methods

current_tags
Source
current_tags=(current_tags : Array(String))
Source
debug(message = nil, &block : -> String)
Source
error(message = nil, &block : -> String)
Source
fatal(message = nil, &block : -> String)
Source
formatter
Source
formatter=(formatter : Formatter)
Source
info(message = nil, &block : -> String)
Source
level
Source
level=(level : Level)
Source
log_with_tags(level : Level, message : String | Nil = nil, tags : Array(String) = [] of String, &block)
Source
output
Source
output=(output : IO)
Source
tagged(tag : String, &)
Source
tagged(*tags : String, &)
Source
warn(message = nil, &block : -> String)
Source

Nested types