Timber v2.3.4 Timber.Events.SQLQueryEvent View Source

The SQLQueryEvent tracks outgoing SQL queries. This gives you structured insight into SQL query performance within your application.

Timber can automatically track SQL query events if you use Ecto and setup Timber.Integrations.EctoLogger.

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.SQLQueryEvent{sql: String.t, time_ms: float}

Link to this section Functions

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

Message to be used when logging.