Timber v3.1.2 Timber.Contexts.JobContext View Source
DEPRECATED
This module is deprecated in favor of using map
s. The next evolution of Timber (2.0)
no long requires a strict schema and therefore simplifies how users set context:
Timber.add_context(job: %{id: "abcd1234"})
Link to this section Summary
Link to this section Types
Link to this type
m()
View Source
m()
View Source
m() :: %{
attempt: nil | pos_integer(),
id: String.t(),
queue_name: nil | String.t()
}
m() :: %{ attempt: nil | pos_integer(), id: String.t(), queue_name: nil | String.t() }
Link to this type
t()
View Source
t()
View Source
t() :: %Timber.Contexts.JobContext{
attempt: nil | pos_integer(),
id: String.t(),
queue_name: nil | String.t()
}
t() :: %Timber.Contexts.JobContext{ attempt: nil | pos_integer(), id: String.t(), queue_name: nil | String.t() }