class Invidious::LogHandler

Defined in:

invidious/helpers/logger.cr

Constructors

Instance Method Summary

Instance methods inherited from module HTTP::Handler

exclude_match?(env : HTTP::Server::Context) exclude_match?

Macros inherited from module HTTP::Handler

exclude(paths, method = "GET") exclude

Constructor Detail

def self.new(io : IO = STDOUT, level : LogLevel = LogLevel::Debug) #

[View source]

Instance Method Detail

def call(context : HTTP::Server::Context) #

[View source]
def debug(message : String) #

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

[View source]
def fatal(message : String) #

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

[View source]
def puts(message : String) #

[View source]
def set_log_level(level : String) #

[View source]
def set_log_level(level : LogLevel) #

[View source]
def trace(message : String) #

[View source]
def warn(message : String) #

[View source]
def write(message : String) #

[View source]