class

AzuCLI::Middleware::Logging

Inherits AzuCLI::Middleware::Base < Reference < Object

Logging middleware for command execution

Instance methods

after(command : Commands::Base, result : Commands::Result)

Called after command execution

Source
before(command : Commands::Base, args : Array(String))

Called before command execution

Source
error(command : Commands::Base, error : Exception)

Called when an error occurs

Source