Timber v2.5.2 Timber.Contexts.HTTPContext View Source

The HTTP context tracks information about an HTTP request currently being handled.

Note: Timber can automatically add context information about HTTP requests if you use a Plug based framework through the Timber.Integrations.HTTPContextPlug.

Link to this section Summary

Link to this section Types

Link to this type m() View Source
m() :: %{:method => String.t, :path => String.t, optional(:request_id) => String.t, optional(:remote_addr) => String.t}
Link to this type t() View Source
t() :: %Timber.Contexts.HTTPContext{method: String.t, path: String.t, remote_addr: String.t | nil, request_id: String.t | nil}