# `Tlm.Event`

Builds protocol v1 events (see Tlm's `docs/protocol.md`): plain
string-keyed maps, ready to encode as JSON.

# `from_exception`

An event for an exception (or an Erlang error, normalized the way
Elixir would raise it).

Options: `:kind` (default `:error`), `:level`, `:message`,
`:fingerprint`, `:user`, `:request`, `:request_id`, `:tags`,
`:breadcrumbs`. The request id defaults to the process's Logger
metadata (`Plug.RequestId` sets it), so the event can be matched with
the app's own logs of the request that failed.

# `from_message`

An event for a message that isn't an exception. Same options.

---

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