View Source Antikythera.Test.GearLogHelper (antikythera v0.5.1)

Helpers to work with gear logs within tests.

Summary

Functions

Sets a context ID (which is included in gear logs) to process dictionary so that logs can be emitted during test executions.

Functions

Link to this function

set_context_id(conn_or_context_or_nil \\ nil)

View Source
@spec set_context_id(nil | Antikythera.Context.t() | Antikythera.Conn.t()) :: :ok

Sets a context ID (which is included in gear logs) to process dictionary so that logs can be emitted during test executions.

If no argument is given, generates a new context ID and sets it.