Expand description
Utility items shared between forc crates.
Re-exports§
pub use tracing_subscriber;
Structs§
- EnvFilter
- A
Layer
which filters spans and events based on a set of filter directives. - FmtSpan
- Configures what points in the span lifecycle are logged as events.
- Level
Filter - A filter comparable to a verbosity
Level
. - Stdio
Tracing Writer - Tracing
Subscriber Options
Enums§
Traits§
- Make
Writer - A type that can create
io::Write
instances.
Functions§
- init_
tracing_ subscriber - A subscriber built from default
tracing_subscriber::fmt::SubscriberBuilder
such that it would match directly usingprintln!
throughout the repo. - println_
action_ green - Prints an action message with a green-bold prefix like “ Compiling “.
- println_
action_ red - Prints an action message with a red-bold prefix like “ Removing “.
- println_
action_ yellow - Prints an action message with a yellow-bold prefix like “ Finished “.
- println_
error - Prints a warning message to stderr with the red prefix “error: “.
- println_
green - println_
green_ bold - println_
red - println_
red_ err - println_
warning - Prints a warning message to stdout with the yellow prefix “warning: “.
- println_
warning_ verbose - Prints a warning message to stdout with the yellow prefix “warning: “ only in verbose mode.
- println_
yellow - println_
yellow_ bold - println_
yellow_ err