module

Logarithm::Log

Enhanced Log module with structured logging methods

Class methods

audit(operation : String, context : Hash(String, JSON::Any))

Audit logging for CLI operations and security events

Source
cli_operation(command : String, args : Array(String), start_time : Time, success : Bool, & : LogEntry -> Nil)

CLI operation logging with automatic context

Source
debug(message : String, &block : LogEntry -> Nil)
Source
debug(message : String)
Source
error(message : String, &block : LogEntry -> Nil)
Source
error(message : String)
Source
fatal(message : String, &block : LogEntry -> Nil)
Source
fatal(message : String)
Source
info(message : String, &block : LogEntry -> Nil)
Source
info(message : String)
Source
warn(message : String, &block : LogEntry -> Nil)
Source
warn(message : String)
Source