module Pog::Logger
Extended Modules
Defined in:
pog/logger.crConstant Summary
-
LOGGER =
Log.for("Pog", Log::Severity::Warn)
Instance Method Summary
- #error(message : String)
- #fatal(message : String)
-
#status(message : String, alt : Bool = false)
Status log (most common)
Macro Summary
-
create_log_levels(levels)
[MACRO] Create log level functions from the hash eg.
Instance Method Detail
Macro Detail
macro create_log_levels(levels)
#
[MACRO] Create log level functions from the hash eg. def error(message : String) LOGGER.error { message.colorize({{color}}).mode(:bold) } exit(1) end