Timber v2.8.1 Timber.GlobalContext View Source

Manages a globally available Timber Context

This module stores context in Timber’s OTP application configuration in order to support global writing and reading with high-throughput.

Link to this section Summary

Functions

Merges the provided context into the existing context

Dumps the context to a Context.t

Sets the global context, overriding any existing context

Removes the key from the existing context

Link to this section Functions

Merges the provided context into the existing context

Dumps the context to a Context.t

This function is provided as a convenience to see the current global context.

Sets the global context, overriding any existing context

Link to this function remove_key(key) View Source
remove_key(atom) :: :ok

Removes the key from the existing context.