Timber v0.2.3 Timber.Event

Summary

Functions

Presents the event the way it should be encoded. The log ingestion system for Timber expectes events to be encoded such that their type is the key holding the event specific data

Types

t()
t ::
  Timber.Events.ExceptionEvent |
  Timber.Events.HTTPRequestEvent |
  Timber.Events.HTTPResponseEvent |
  Timber.Events.SQLQueryEvent |
  Timber.Events.TemplateRenderEvent

Functions

event_for_encoding(event)

Presents the event the way it should be encoded. The log ingestion system for Timber expectes events to be encoded such that their type is the key holding the event specific data.

key_for_event(arg1)