Timber v3.0.0-alpha.2 Timber.Events.TemplateRenderEvent View Source

The TemplateRenderEvent trackes template rendering within your app.

Giving you structured insight into template rendering performance.

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

Timber can automatically track template rendering events if you use the Phoenix framework and setup the Timber.Integrations.PhoenixInstrumenter.

Link to this section Summary

Functions

Message to be used when logging

Link to this section Types

Link to this type t() View Source
t() :: %Timber.Events.TemplateRenderEvent{name: String.t(), time_ms: float()}

Link to this section Functions

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

Message to be used when logging.