Timber v2.5.4 Timber.Events.ChannelReceiveEvent View Source

The ChannelReceiveEvent represents the reception of an event for a given topic on a channel.

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

Link to this section Summary

Functions

Message to be used when logging

Builds a new struct taking care to

Link to this section Types

Link to this type t() View Source
t() :: %Timber.Events.ChannelReceiveEvent{channel: String.t, event: String.t, metadata_json: String.t | nil, topic: String.t}

Link to this section Functions

Link to this function message(channel_receive_event) View Source
message(t) :: IO.chardata

Message to be used when logging.

Builds a new struct taking care to:

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