antikythera v0.2.0 AntikytheraCore.GearLog.ContextHelper View Source
Helpers to get/set context ID.
Context IDs are mainly to be used for logging.
In order to keep Logger
’s interface clean (i.e. not to make context_id
trump data solely for logging purpose),
context ID is stored in each process’s process dictionary and fetched when a process emits a log message.
Link to this section Summary
Link to this section Functions
Link to this function
set(conn_or_context)
View Source
set(Antikythera.Conn.t() | Antikythera.Context.t()) :: :ok