Timber v2.5.5 Timber.Events.ControllerCallEvent

The ControllerCallEvent represents a controller being called during the HTTP request cycle.

The defined structure of this data can be found in the log event JSON schema: https://github.com/timberio/log-event-json-schema

Summary

Functions

Message to be used when logging

Builds a new struct taking care to

Types

t()
t() :: %Timber.Events.ControllerCallEvent{action: String.t, controller: String.t, params_json: String.t | nil, pipelines: String.t | nil}

Functions

message(controller_call_event)
message(t) :: IO.chardata

Message to be used when logging.

new(opts)
new(Keyword.t) :: t

Builds a new struct taking care to:

  • Converts :params to :params_json that satifies the Timber API requirements