class

Amber::Environment::Logging

Inherits Reference < Object

Constants

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

new(initial_logging : OptionsType)
Source

Instance methods

color
Source
color=(color : String)
Source
colorize

Turns self into a Colorize::Object.

Source
colorize=(colorize : Bool)
Source
filter
Source
filter=(filter : Array(String))
Source
severity
Source
severity=(severity : String | Symbol)
Source
skip
Source
skip=(skip : Array(String))
Source

Nested types