class Logger

Defined in:

logger.cr

Constant Summary

LEVELS_MAPPING = {DEBUG: {int_level: 0, std_stream: STDOUT}, INFO: {int_level: 1, std_stream: STDOUT}, ERROR: {int_level: 2, std_stream: STDERR}}

Constructors

Instance Method Summary

Constructor Detail

def self.new(level : String) #

[View source]

Instance Method Detail

def debug(msg : String) #

[View source]
def error(msg : String) #

[View source]
def error(msg : Nil) #

[View source]
def info(msg : String) #

[View source]