Timber v3.0.0-alpha.2 Timber.Contexts.OrganizationContext View Source

The organization context tracks the organization of the currently authenticated user.

You will want to add this context at the time you determine the organization a user belongs to, typically in the authentication flow.

%Timber.Contexts.OrganizationContext{id: "my_organization_id", name: "Lumberjacks Doe"}
|> Timber.add_context()

Link to this section Summary

Link to this section Types

Link to this type t() View Source
t() :: %Timber.Contexts.OrganizationContext{id: String.t(), name: String.t()}