Skip to content

Commit c487bb1

Browse files
authored
notes about LoggingContext (#75)
1 parent e8e428b commit c487bb1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ This is a collection of Swift libraries enabling the instrumentation of server s
66

77
While Swift Distributed Tracing allows building all kinds of _instruments_, which can co-exist in applications transparently, its primary use is instrumenting multi-threaded and distributed systems with Distributed Traces.
88

9+
> Warning: The docs below, showcasing the 0.3.x series of the logging integration are **deprecated** thanks to the latest inclusion of [metadata providers in swift-log](https://github.com/apple/swift-log/pull/238). With the introduction of [task local values in Swift](https://developer.apple.com/documentation/swift/tasklocal), and metadata providers in swift-log, the `LoggingContext` pattern showcased below has become an _anti-pattern_. Please give us a moment to finish the [new documentation PR #69](https://github.com/apple/swift-distributed-tracing/pull/69), which will explain the new integration style in detail.
10+
>
11+
> Tracer APIs will not change substantially, as we're closing up on announcing version 1.0. Please look forward to beta releases very soon!
912
1013
---
1114

0 commit comments

Comments
 (0)