module Barista::Log

Defined in:

barista/log.cr

Constant Summary

Logger = ::Log.for(self)

Class Method Summary

Class Method Detail

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

[View source]
def self.debug(caller, *, color : Symbol | Nil = :default, &block : -> String | IO) #

[View source]
def self.error(caller, *, color : Symbol | Nil = :default, &block : -> String | IO) #

[View source]
def self.info(caller, *, color : Symbol | Nil = :default, &block : -> String | IO) #

[View source]
def self.level=(level) #

[View source]
def self.warn(caller, *, color : Symbol | Nil = :default, &block : -> String | IO) #

[View source]