PaulBunyan::Logger
Inherits Reference < Object
Constructors
new(output : IO = STDOUT, level : Level = Level::Info)
SourceInstance methods
current_tags
Sourcecurrent_tags=(current_tags : Array(String))
Sourcedebug(message = nil, &block : -> String)
Sourceerror(message = nil, &block : -> String)
Sourcefatal(message = nil, &block : -> String)
Sourceformatter
Sourceformatter=(formatter : Formatter)
Sourceinfo(message = nil, &block : -> String)
Sourcelevel
Sourcelevel=(level : Level)
Sourcelog_with_tags(level : Level, message : String | Nil = nil, tags : Array(String) = [] of String, &block)
Sourceoutput
Sourceoutput=(output : IO)
Sourcetagged(tag : String, &)
Sourcetagged(*tags : String, &)
Sourcewarn(message = nil, &block : -> String)
Source