Module pact_matching::logging

source ·
Expand description

Logging support. Provides a static store to accumulate log entries and a task local ID to accumulate the entries against. If not task local value is available, uses a “global” entry

Statics§

  • Log ID to accumulate logs against

Functions§

  • Fetches the contents from the id scoped in-memory buffer and empties the buffer.
  • Writes the provided bytes to the task local ID scoped in-memory buffer. If there is no task local ID set, will write to the “global” buffer.