abstract class Halite::Logging::Abstract
- Halite::Logging::Abstract
- Reference
- Object
Overview
Logging format Abstract
Direct Known Subclasses
Defined in:
halite/features/logging.crConstructors
Instance Method Summary
-
#colorize : Bool
Turns
self
into aColorize::Object
. - #logger=(logger : Log)
- #request(request)
- #response(response)
- #skip_benchmark : Bool
- #skip_request_body : Bool
- #skip_response_body : Bool
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)
#
Instance Method Detail
def colorize : Bool
#
Description copied from module Colorize::ObjectExtensions
Turns self
into a Colorize::Object
.