Commanded.Middleware.Logger (Commanded v1.3.1) View Source

A Commanded.Middleware that logs each stage of the command dispatch using the Elixir Logger:

  • Before dispatch.
  • After successful dispatch.
  • After failed dispatch.

Link to this section Summary

Link to this section Functions

Link to this function


View Source

Callback implementation for Commanded.Middleware.after_dispatch/1.

Callback implementation for Commanded.Middleware.after_failure/1.

Link to this function


View Source

Callback implementation for Commanded.Middleware.before_dispatch/1.