class
AzuCLI::Middleware::Logging
- AzuCLI::Middleware::Logging
- AzuCLI::Middleware::Base
- Reference
- Object
Overview
Logging middleware for command execution
Defined in:
azu_cli/middleware/logging.crInstance Method Summary
-
#after(command : Commands::Base, result : Commands::Result)
Called after command execution
-
#before(command : Commands::Base, args : Array(String))
Called before command execution
-
#error(command : Commands::Base, error : Exception)
Called when an error occurs
Instance methods inherited from class AzuCLI::Middleware::Base
after(command : Commands::Base, result : Commands::Result)
after,
before(command : Commands::Base, args : Array(String))
before,
error(command : Commands::Base, error : Exception)
error
Instance Method Detail
Description copied from class AzuCLI::Middleware::Base
Called after command execution
def before(command : Commands::Base, args : Array(String))
#
Description copied from class AzuCLI::Middleware::Base
Called before command execution
def error(command : Commands::Base, error : Exception)
#
Description copied from class AzuCLI::Middleware::Base
Called when an error occurs