abstract class Halite::Logging::Abstract

Overview

Logging format Abstract

Direct Known Subclasses

Defined in:

halite/features/logging.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(*, for : String = "halite", skip_request_body : Bool = false, skip_response_body : Bool = false, skip_benchmark : Bool = false, colorize : Bool = true) #

[View source]

Instance Method Detail

def colorize : Bool #
Description copied from module Colorize::ObjectExtensions

Turns self into a Colorize::Object.


[View source]
def logger=(logger : Log) #

[View source]
abstract def request(request) #

[View source]
abstract def response(response) #

[View source]
def skip_benchmark : Bool #

[View source]
def skip_request_body : Bool #

[View source]
def skip_response_body : Bool #

[View source]