Skip to content

module Barista::Log #

Constants#

Logger = ::Log.for(self)#

Class methods#

.backend(val : ::Log::Backend)#

.debug(caller, *, color : Symbol | Nil = :default, &block : -> String | IO)#

.error(caller, *, color : Symbol | Nil = :default, &block : -> String | IO)#

.info(caller, *, color : Symbol | Nil = :default, &block : -> String | IO)#

.level=(level)#

.warn(caller, *, color : Symbol | Nil = :default, &block : -> String | IO)#