Extension for resources that should log events.
use Ash.Resource,
extensions: [AshEventLog.Resource]
event_log do
event_log MyApp.Events.Event
ignore_actions [:background_recalculate]
endUse only_actions to opt in to a specific allowlist instead:
event_log do
event_log MyApp.Events.Event
only_actions [:create, :update]
endignore_actions and only_actions are mutually exclusive.