Timber v1.1.0 Timber.Context

The ContextEntry module formalizes the structure of context stack entries

Most users will not interact directly with this module and will instead use the helper functions provided by the main Timber module. See the Timber module for more information.

Summary

Functions

Takes an existing context element and inserts it into the global context

Types

t()
t() :: %{optional(:custom) => Context.CustomContext.m, optional(:http_request) => Context.HTTPContext.m, optional(:organization) => Context.OrganizationContext.m, optional(:server) => Context.ServerContext.m, optional(:system) => Context.SystemContext.m, optional(:user) => Context.UserContext.m}

Functions

add(context, context_element)
add(t, context_element) :: t

Takes an existing context element and inserts it into the global context.