Skip to content

Commit c50f01a

Browse files
replace README example with embed from examples dir
1 parent 483cc0a commit c50f01a

File tree

1 file changed

+1
-20
lines changed

1 file changed

+1
-20
lines changed

README.md

Lines changed: 1 addition & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -4,26 +4,7 @@ Instrument your application with [tracing](https://github.com/tokio-rs/tracing)
44
and get tree-structured summaries of your application activity with timing
55
information on the console:
66

7-
<pre>
8-
<b>server</b>{host=&quot;localhost&quot;, port=8080<b>}</b>
9-
0ms <b> INFO</b> starting
10-
300ms <b> INFO</b> listening
11-
<b>conn</b>{peer_addr=&quot;82.9.9.9&quot;, port=42381<b>}</b>
12-
0ms <b>DEBUG</b> connected
13-
300ms <b>DEBUG</b> message received, length=2
14-
<b>conn</b>{peer_addr=&quot;8.8.8.8&quot;, port=18230<b>}</b>
15-
300ms <b>DEBUG</b> connected
16-
<b>conn</b>{peer_addr=&quot;82.9.9.9&quot;, port=42381<b>}</b>
17-
600ms <b> WARN</b> weak encryption requested, algo=&quot;xor&quot;
18-
901ms <b>DEBUG</b> response sent, length=8
19-
901ms <b>DEBUG</b> disconnected
20-
<b>conn</b>{peer_addr=&quot;8.8.8.8&quot;, port=18230<b>}</b>
21-
600ms <b>DEBUG</b> message received, length=5
22-
901ms <b>DEBUG</b> response sent, length=8
23-
901ms <b>DEBUG</b> disconnected
24-
1502ms <b> WARN</b> internal error
25-
1502ms <b> INFO</b> exit
26-
</pre>
7+
https://github.com/davidbarsky/tracing-tree/blob/483cc0a118c3170f4246d6fa4a9f018a00d8f0a9/examples/quiet.stdout#L1-L28
278

289
(Format inspired by [slog-term](https://github.com/slog-rs/slog#terminal-output-example))
2910

0 commit comments

Comments
 (0)