AshEventLog.EventLog (ash_event_log v0.1.2)

Copy Markdown View Source

Extension for the centralized event log resource.

Generates attributes, actions, and optionally actor fields.

use Ash.Resource,
  extensions: [AshEventLog.EventLog]

event_log do
  persist_actor_primary_key :user_id, MyApp.Accounts.User
  public_fields :all
end

Summary

Functions

event_log(body)

(macro)