-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tokio-trace: Extend
span!
rules (#893)
* tokio-trace: Extend `span!` rules Add the ability to define a target and log level for individual spans. `level: ...` must be included since both `$lvl` and `$name` are `expr`. The macro tests and documentation tests have been extended. Signed-off-by: Kevin Leimkuhler <kevinl@buoyant.io> * Add additional `span!` test Change default log level of `span!` to `TRACE` to reflect the default level used in `callsite!`. Signed-off-by: Kevin Leimkuhler <kevinl@buoyant.io>
- Loading branch information
1 parent
93e66e6
commit 4b163eb
Showing
3 changed files
with
81 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters