class Halite::Logging

Overview

Logging feature

Extended Modules

Defined in:

halite/features/logging.cr
halite/features/logging/common.cr
halite/features/logging/json.cr

Constant Summary

DEFAULT_LOGGER = Logging::Common.new

Constructors

Instance Method Summary

Instance methods inherited from class Halite::Feature

intercept(chain : Halite::Feature::Chain) : Halite::Feature::Chain intercept, request(request : Halite::Request) : Halite::Request request, response(response : Halite::Response) : Halite::Response response

Constructor methods inherited from class Halite::Feature

new(**options) new

Constructor Detail

def self.new(**options) #

return a new Cache instance

Accepts argument:


[View source]

Instance Method Detail

def request(request) #

[View source]
def response(response) #

[View source]
def writer : Logging::Abstract #

[View source]