class HqTrivia::Logger

Overview

A Logger class that supports setting log level from the environment.

Defined in:

hqtrivia/logger.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(logger : Log = ::Log.for("hqtrivia")) #

[View source]

Instance Method Detail

def debug(msg) #

[View source]
def error(msg) #

[View source]
def fatal(msg) #

[View source]
def info(msg) #

[View source]
def level #

Returns the Logger log level.


[View source]
def warn(msg) #

[View source]