class Logger

Defined in:

awesome-logger.cr

Constant Summary

LEVEL_ENV_VAR = "CR_LOG_LEVEL"

Class Method Summary

Class Method Detail

def self.d(msg, io : IO = STDOUT) #

[View source]
def self.debug(msg, io : IO = STDOUT) #

[View source]
def self.e(msg, io : IO = STDERR) #

[View source]
def self.error(msg, io : IO = STDERR) #

[View source]
def self.f(msg, io : IO = STDERR) #

[View source]
def self.fatal(msg, io : IO = STDERR) #

[View source]
def self.handle(msg, level, io) #

[View source]
def self.i(msg, io : IO = STDOUT) #

[View source]
def self.info(msg, io : IO = STDOUT) #

[View source]
def self.level : Symbol #

[View source]
def self.register(handler : AwesomeLogger::Handler) #

[View source]
def self.set_level(level : Symbol) #

[View source]
def self.w(msg, io : IO = STDOUT) #

[View source]
def self.warning(msg, io : IO = STDOUT) #

[View source]