amzn / smoke-framework

A light-weight server-side service framework written in the Swift programming language.
Apache License 2.0
1.45k stars 41 forks source link

Add metadata provider. #131

Closed tachyonics closed 12 months ago

tachyonics commented 1 year ago

Issue #, if available: Add metadata provider that adds smoke-framework specific metadata to any logs emitted from the same structured concurrency tree rooted at the operation handler. This avoids the need to explicitly pass a logger instance around to emit this metadata for all related logs.

Description of changes:

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.