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

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

after_dispatch(pipeline)

View Source

Callback implementation for Commanded.Middleware.after_dispatch/1.

Callback implementation for Commanded.Middleware.after_failure/1.

Link to this function

before_dispatch(pipeline)

View Source

Callback implementation for Commanded.Middleware.before_dispatch/1.