Timber v3.1.2 Timber.Contexts.UserContext View Source

DEPRECATED

This module is deprecated in favor of using maps. The next evolution of Timber (2.0) no long requires a strict schema and therefore simplifies how users set context:

Timber.add_context(user: %{id: "abcd1234"})

Link to this section Summary

Link to this section Types

Link to this type

m() View Source
m() :: %{id: String.t(), name: String.t(), email: String.t()}

Link to this type

t() View Source
t() :: %Timber.Contexts.UserContext{
  email: String.t(),
  id: String.t(),
  name: String.t()
}