# `PhoenixKitWarehouse.ActivityLog`
[🔗](https://github.com/BeamLabEU/phoenix_kit_warehouse/blob/0.4.0/lib/phoenix_kit_warehouse/activity_log.ex#L1)

Single entry point for `warehouse` module activities.

Wraps `PhoenixKit.Activity.log/1`, swallows errors, and respects the
`:inventory_activity_logging` runtime kill switch.

# `log_corrected`

Logs a content correction with a compact summary of changed fields.

# `log_created`

Logs the creation of an inventory document.

# `log_draft_saved`

Logs a draft save with a compact summary of changed fields.

# `log_posted`

Logs the posting of an inventory document.

# `log_reposted`

Logs a repost (re-application of stock quantities).

# `log_responsibility_changed`

Logs a responsibility change (created_by / performed_by).

`changes` is a map with optional keys `:created_by` and `:performed_by`,
each carrying a `{from, to}` tuple of UUID strings (or nil).

Example:
    %{created_by: {"old-uuid", "new-uuid"}, performed_by: {nil, "new-uuid"}}

# `log_transfer_cancelled`

Logs the cancellation of a transfer.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
