MCPcopy Create free account

hub / github.com/tokio-rs/tracing / functions

Functions2,480 in github.com/tokio-rs/tracing

Methodvisit_spans
Visits every span in the current context with a closure. The provided closure will be called first with the current span, and then with that span's p
tracing-subscriber/src/fmt/fmt_layer.rs:1122
Methodvisit_with
Visits all fields in `fields` with a new visitor constructed from `target`.
tracing-subscriber/src/field/mod.rs:102
Functionwarn
()
tracing/tests/macros.rs:801
Functionwarn_callsite_is_correct
()
tracing-log/src/lib.rs:584
Functionwarn_root
()
tracing/tests/macros.rs:1091
Functionwarn_span
()
tracing/tests/macros.rs:118
Functionwarn_span_root
()
tracing/tests/macros.rs:255
Functionwarn_span_with_parent
()
tracing/tests/macros.rs:363
Functionwarn_with_parent
()
tracing/tests/macros.rs:1290
Functionweekly
Creates a weekly-rotating file appender. The logs will rotate every Sunday at midnight UTC. The appender returned by `rolling::weekly` can be used wi
tracing-appender/src/rolling.rs:406
Methodwith_ancestry
Configures this `ExpectedEvent` to expect the specified [`ExpectedAncestry`]. An event's ancestry indicates whether is has a parent or is a root, and
tracing-mock/src/event.rs:413
Functionwith_ansi_false
()
tracing-subscriber/src/fmt/format/mod.rs:2084
Methodwith_ansi_sanitization
(self, ansi_sanitization: bool)
tracing-subscriber/src/fmt/format/mod.rs:454
Functionwith_ansi_true
()
tracing-subscriber/src/fmt/format/mod.rs:2077
Methodwith_callsite_filter
Adds a function for filtering callsites to this filter. When this filter's [`Filter::callsite_enabled`][cse] method is called, the provided function
tracing-subscriber/src/filter/filter_fn.rs:558
Methodwith_current_span
Sets whether or not the formatter will include the current span in formatted events. See [`format::Json`][super::format::Json]
tracing-subscriber/src/fmt/fmt_layer.rs:660
Methodwith_current_span
(mut self, display_current_span: bool)
tracing-subscriber/src/fmt/format/mod.rs:905
Methodwith_current_subscriber
(self)
tracing-futures/src/lib.rs:242
Methodwith_current_subscriber
(self)
tracing/src/instrument.rs:228
Methodwith_empty_samples
Configures whether or not periods of time where no spans are entered should be included in the output. Defaults to `true`. Setting this feature to f
tracing-flame/src/lib.rs:297
Methodwith_fields
Adds fields to expect when matching an event. If an event is recorded with fields that do not match the provided [`ExpectedFields`], this expectation
tracing-mock/src/event.rs:135
Methodwith_file
Sets whether or not an event's [source code file path][file] is displayed. [file]: tracing_core::Metadata::file
tracing-subscriber/src/fmt/mod.rs:692
Methodwith_file
Sets whether or not an event's [source code file path][file] is displayed. [file]: tracing_core::Metadata::file
tracing-subscriber/src/fmt/fmt_layer.rs:519
Methodwith_file_and_line
Configures whether or not file and line should be included in the output.
tracing-flame/src/lib.rs:324
Functionwith_filename
()
tracing-subscriber/src/fmt/format/mod.rs:1926
Methodwith_filter
(self, filter: F)
tracing-subscriber/src/layer/mod.rs:1111
Methodwith_filters
( filters: impl IntoIterator<Item = &'a (&'static str, LevelFilter)>, )
tracing/test-log-support/src/lib.rs:43
Functionwith_filters_boxed
()
tracing-subscriber/tests/layer_filters/vec.rs:42
Functionwith_filters_unboxed
()
tracing-subscriber/tests/layer_filters/vec.rs:6
Functionwith_line_number
()
tracing-subscriber/src/fmt/format/mod.rs:1907
Methodwith_line_number
Sets whether or not an event's [source code line number][line] is displayed. [line]: tracing_core::Metadata::line
tracing-subscriber/src/fmt/fmt_layer.rs:530
Functionwith_line_number_and_file_name
()
tracing-subscriber/src/fmt/format/mod.rs:1882
Methodwith_min_level
Wraps `self` and returns a [`MakeWriter`] that will only write output for events at or above the provided verbosity [`Level`]. Events whose level is
tracing-subscriber/src/fmt/writer.rs:321
Methodwith_module_path
Configures whether or not module paths should be included in the output.
tracing-flame/src/lib.rs:318
Methodwith_regex
Sets whether span field values can be matched with regular expressions. If this is `true`, field filter directives will be interpreted as regular exp
tracing-subscriber/src/filter/env/builder.rs:38
Methodwith_source_location
(self, display_location: bool)
tracing-subscriber/src/fmt/format/pretty.rs:161
Methodwith_source_location
Sets whether or not the source code location from which an event originated is displayed. This is equivalent to calling [`Format::with_file`] and [`F
tracing-subscriber/src/fmt/format/mod.rs:837
Methodwith_span_list
Sets whether or not the JSON subscriber being built will include a list (from root to leaf) of all currently entered spans in formatted events. See [
tracing-subscriber/src/fmt/mod.rs:832
Methodwith_span_list
Sets whether or not the formatter will include a list (from root to leaf) of all currently entered spans in formatted events. See [`format::Json`][su
tracing-subscriber/src/fmt/fmt_layer.rs:675
Methodwith_span_list
(mut self, display_span_list: bool)
tracing-subscriber/src/fmt/format/mod.rs:916
Methodwith_stderr
Returns a new `TestWriter` that writes to `stderr` instead of `stdout`.
tracing-subscriber/src/fmt/writer.rs:720
Methodwith_subscriber
Invokes a function with a reference to this span's ID and subscriber. if this span is enabled, the provided function is called, and the result is ret
tracing/src/span.rs:1382
Methodwith_subscriber
Attaches the provided [`Subscriber`] to this type, returning a [`WithDispatch`] wrapper. The attached [`Subscriber`] will be set as the [default] whe
tracing/src/instrument.rs:176
Methodwith_target
Sets the target to expect when matching events. If an event is recorded with a different target, this expectation will fail. # Examples ``` use tra
tracing-mock/src/event.rs:243
Methodwith_target
Enables spans and events with [target]s starting with the provided target prefix if they are at or below the provided [`LevelFilter`]. # Examples ``
tracing-subscriber/src/filter/targets.rs:218
Methodwith_targets
Adds [target]s from an iterator of [target]-[`LevelFilter`] pairs to this filter. # Examples ``` use tracing_subscriber::filter; use tracing_core::L
tracing-subscriber/src/filter/targets.rs:257
Methodwith_test_writer
Configures the subscriber to support [`libtest`'s output capturing][capturing] when used in unit tests. See [`TestWriter`] for additional details. #
tracing-subscriber/src/fmt/mod.rs:1091
Methodwith_test_writer
Configures the layer to support [`libtest`'s output capturing][capturing] when used in unit tests. See [`TestWriter`] for additional details. # Exam
tracing-subscriber/src/fmt/fmt_layer.rs:291
Functionwith_thread_ids
()
tracing-subscriber/src/fmt/format/mod.rs:1942
Methodwith_thread_ids
Sets whether or not the [thread ID] of the current thread is displayed when formatting events. [thread ID]: std::thread::ThreadId
tracing-subscriber/src/fmt/fmt_layer.rs:552
Methodwith_thread_names
Sets whether or not the [name] of the current thread is displayed when formatting events. [name]: std::thread#naming-threads
tracing-subscriber/src/fmt/fmt_layer.rs:563
Methodwith_threads_collapsed
Configures whether or not spans from different threads should be collapsed into one pool of events. Defaults to `false`. Setting this feature to tru
tracing-flame/src/lib.rs:312
Functionwithout_ansi
()
tracing-subscriber/src/fmt/format/mod.rs:2091
Functionwithout_level
()
tracing-subscriber/src/fmt/format/mod.rs:2097
Methodwould_enable
Returns whether a [target]-[`Level`] pair would be enabled by this `Targets`. This method can be used with [`module_path!`] from `std` as the target
tracing-subscriber/src/filter/targets.rs:396
Methodwrite
(&mut self, buf: &[u8])
tracing-appender/benches/bench.rs:30
Methodwrite
(&mut self, buf: &[u8])
tracing-subscriber/benches/fmt.rs:15
Methodwrite
(&self)
tracing-subscriber/src/sync.rs:53
Methodwrite
(&mut self, buf: &[u8])
tracing-subscriber/src/fmt/mod.rs:1306
Methodwrite
(&mut self, buf: &[u8])
tracing-subscriber/src/fmt/writer.rs:726
Methodwrite
(&mut self, buf: &[u8])
tracing-subscriber/tests/ansi_escaping.rs:24
Methodwrite_all
(&mut self, buf: &[u8])
tracing-subscriber/src/fmt/writer.rs:839
Functionwrite_daily_log
()
tracing-appender/src/rolling.rs:888
Methodwrite_fmt
(&mut self, fmt: std::fmt::Arguments<'_>)
tracing-subscriber/src/fmt/writer.rs:844
Functionwrite_hourly_log
()
tracing-appender/src/rolling.rs:883
Functionwrite_minutely_log
()
tracing-appender/src/rolling.rs:878
Functionwrite_never_log
()
tracing-appender/src/rolling.rs:898
Methodwrite_str
(&mut self, s: &str)
tracing/benches/shared.rs:75
Methodwrite_str
(&mut self, s: &str)
tracing-subscriber/src/fmt/format/escape.rs:23
Methodwrite_u64
(&mut self, id: u64)
tracing-subscriber/src/registry/extensions.rs:26
Methodwrite_vectored
(&mut self, bufs: &[io::IoSlice<'_>])
tracing-subscriber/src/fmt/writer.rs:834
Functionwrite_weekly_log
()
tracing-appender/src/rolling.rs:893
Methodwriter
(&mut self)
tracing-subscriber/src/field/display.rs:114
Methodwriter
(&mut self)
tracing-subscriber/src/field/mod.rs:354
Methodwriter
(&mut self)
tracing-subscriber/src/field/debug.rs:108
Methodwriter
Borrows the [writer] for this [`Layer`]. [writer]: MakeWriter
tracing-subscriber/src/fmt/fmt_layer.rs:201
Methodwriter
(&mut self)
tracing-subscriber/src/fmt/format/pretty.rs:519
Methodwriter
(&mut self)
tracing-subscriber/src/fmt/format/mod.rs:1350
Methodwriter
(&mut self)
tracing-subscriber/src/fmt/format/json.rs:453
Methodwriter_mut
Mutably borrows the [writer] for this [`Layer`]. This method is primarily expected to be used with the [`reload::Handle::modify`](crate::reload::Hand
tracing-subscriber/src/fmt/fmt_layer.rs:232
← previous2,401–2,480 of 2,480, ranked by callers