Skip to content

Commit

Permalink
Remove references to AsyncSlf4jSpanObserver from README (#1063)
Browse files Browse the repository at this point in the history
  • Loading branch information
pkoenig10 authored Jul 22, 2023
1 parent 55b94ad commit fd2ab7c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ spans to a log file or to Zipkin. Span observers are static (similar to SLF4J a
follows:

```java
// Emit all completed spans to a default SLF4J logger:
Tracer.subscribe("SLF4J" /* user-defined name */, AsyncSlf4jSpanObserver.of(executor));
// Emit all completed spans to the provided span observer:
Tracer.subscribe("SLF4J" /* user-defined name */, spanObserver);

// No longer emit span events to SLF4J:
Tracer.unsubscribe("SLF4J");
Expand Down

0 comments on commit fd2ab7c

Please sign in to comment.