Skip to content

Why .full() and .json() are not present for tracing_subscriber::fmt() when .pretty() and .compact() are? #2264

Answered by davidbarsky
frederikhors asked this question in Q&A
Discussion options

You must be logged in to vote

While .full() is already the default state of the builder returned by tracing_subscriber::fmt(), we should probably have that method for consistency's sake. .json() is present: did you enable the JSON feature in your Cargo.toml?

Replies: 1 comment 9 replies

Comment options

You must be logged in to vote
9 replies
@frederikhors
Comment options

@davidbarsky
Comment options

@CEbbinghaus
Comment options

@mladedav
Comment options

@CEbbinghaus
Comment options

Answer selected by hawkw
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants