-
Notifications
You must be signed in to change notification settings - Fork 721
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: clean up
tracing_subscriber::fmt
formatter docs (#1927)
## Motivation Currently, the documentation for the `fmt` module shows examples of the output for each formatter in the top-level module. This is a lot of text that makes finding other things in the documentation more difficult. Meanwhile, the type-level docs for the various formatters are quite terse and don't offer much useful information. ## Solution This branch moves the example output to the type-level docs for the various formatters, and links to it from the list of formatters. I've also updated and expanded some of the documentation for the formatters, and added a similar list of formatters to the `fmt::format` module. Hopefully, this makes things easier to navigate? Finally, I've re-generated all example output with the latest versions of each formatter. ## Alternatives Alternatively, we could not move the example output. The initial intention for putting it in the top-level `fmt` module docs was to make it _very_ easy to find what the different formats look like. Perhaps this is worth having a lot of text to scroll through in the module-level docs?
- Loading branch information
Showing
4 changed files
with
203 additions
and
160 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
Oops, something went wrong.