class Sabo::Tabby::LogHandler

Overview

Uses STDOUT by default and handles the logging of request/response process time.

Included Modules

Defined in:

sabo-tabby/log_handler.cr

Constant Summary

TTY = STDOUT.tty?

Constructors

Instance Method Summary

Macro Summary

Constructor Detail

def self.new(io : IO = STDOUT) #

[View source]

Instance Method Detail

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

[View source]
def write(message : String, ignore_pipe : Bool = false) #

[View source]

Macro Detail

macro generate_loggers(io) #

[View source]