Timber v3.1.2 Timber.Contexts.SessionContext 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(session: %{id: "abcd1234"})

In addition, you can use Timber integrations to automatically capture context in Plug and Phoenix:

Checkout the README for a list of all integrations.

Link to this section Summary

Link to this section Types

Link to this type

t() View Source
t() :: %Timber.Contexts.SessionContext{id: String.t()}