class Amber::Environment::Logging
- Amber::Environment::Logging
- Reference
- Object
Defined in:
amber/environment/logging.crConstant Summary
-
COLOR_MAP =
{black: :black, red: :red, green: :green, yellow: :yellow, blue: :blue, magenta: :magenta, cyan: :cyan, light_gray: :light_gray, dark_gray: :dark_gray, light_red: :light_red, light_green: :light_green, light_yellow: :light_yellow, light_blue: :light_blue, light_magenta: :light_magenta, light_cyan: :light_cyan, white: :white}
-
DEFAULTS =
{"severity" => "debug", "colorize" => true, "color" => "light_cyan", "filter" => ["password", "confirm_password"], "skip" => [] of String}
Constructors
Instance Method Summary
- #color : Symbol
- #color=(color : String)
-
#colorize : Bool
Turns
self
into aColorize::Object
. - #colorize=(colorize : Bool)
- #filter : Array(String)
- #filter=(filter : Array(String))
- #severity : Log::Severity
- #severity=(severity : String | Symbol)
- #skip : Array(String)
- #skip=(skip : Array(String))
Constructor Detail
Instance Method Detail
def colorize : Bool
#
Description copied from module Colorize::ObjectExtensions
Turns self
into a Colorize::Object
.