View Source Squeeze.Logger (OpenPace v0.0.1)

The Logger context.

Link to this section Summary

Functions

Creates a webhook_event.

Link to this section Functions

Link to this function

log_webhook_event(attrs \\ %{})

View Source

Creates a webhook_event.

examples

Examples

iex> log_webhook_event(%{field: value})
{:ok, %WebhookEvent{}}

iex> log_webhook_event(%{field: bad_value})
{:error, %Ecto.Changeset{}}