MCPcopy Create free account

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

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

Functionmore_specific_dynamic_filter_more_verbose
()
tracing-subscriber/tests/env_filter/main.rs:369
Functionmore_specific_static_filter_less_verbose
()
tracing-subscriber/tests/env_filter/main.rs:346
Functionmore_specific_static_filter_more_verbose
()
tracing-subscriber/tests/env_filter/main.rs:327
Functionmove_field_out_of_struct
()
tracing/tests/span.rs:422
Functionmove_field_out_of_struct
()
tracing/tests/event.rs:238
Functionmoved_field
()
tracing/tests/span.rs:344
Functionmoved_field
()
tracing/tests/event.rs:171
Methodmsg
(s: &'static str)
tracing-subscriber/src/filter/directive.rs:407
Functionmulti_threaded_writes
()
tracing-appender/src/non_blocking.rs:456
Functionmultiline_message
()
tracing-journald/tests/journal.rs:216
Functionmultiline_message_trailing_newline
()
tracing-journald/tests/journal.rs:227
Functionmultiple_dynamic_filters
()
tracing-subscriber/tests/env_filter/main.rs:698
Functionmultiple_dynamic_filters
()
tracing-subscriber/tests/env_filter/per_layer.rs:254
Functionmultiple_layer_filter_interests_are_cached
()
tracing-subscriber/tests/multiple_layer_filter_interests_cached.rs:11
Functionmultiple_layers_can_access_closed_span
()
tracing-subscriber/src/registry/sharded.rs:572
Functionmultiple_max_level_hints
()
tracing/tests/multiple_max_level_hints.rs:8
Functionmultiple_spans_metadata
()
tracing-journald/tests/journal.rs:332
Functionmy_great_function
()
tracing/tests/filter_caching_is_lexically_scoped.rs:21
Functionmy_other_function
()
tracing/tests/filter_caching_is_lexically_scoped.rs:25
Methodname
Returns the name of the span.
tracing-core/src/metadata.rs:286
Functionname_ident
()
tracing-attributes/tests/instrument.rs:258
Methodnamed
Overrides the name printed by the mock subscriber's debugging output. The debugging output is displayed if the test panics, or if the test is run wit
tracing-mock/src/subscriber.rs:333
Methodnamed
Sets a name to expect when matching an event. By default, an event's name takes takes the form: `event <file>:<line>` where `<file>` and `<line>` ref
tracing-mock/src/event.rs:69
Functionnamed_levels
()
tracing-attributes/tests/levels.rs:7
Functionnested_plf_only_picks_max
()
tracing-subscriber/src/layer/tests.rs:293
Functionnested_set_default
()
tracing-core/tests/dispatch.rs:32
Methodnever
()
tracing-core/src/subscriber.rs:605
Functionnever_used
()
tracing-attributes/tests/ui/fail/unused_instrumented_fn.rs:4
Methodnew
Returns a `Dispatch` that forwards to the given [`Subscriber`]. [`Subscriber`]: super::subscriber::Subscriber
tracing-core/src/dispatcher.rs:472
Methodnew
Returns `Attributes` describing a new child span of the current span, with the provided metadata and values.
tracing-core/src/span.rs:110
Methodnew
Construct new metadata for a span or event, with a name, target, level, field names, and optional source code location.
tracing-core/src/metadata.rs:252
Methodnew
Constructs a new `FieldSet` with the given array of field names and callsite.
tracing-core/src/field.rs:869
Methodnew
()
tracing-core/src/subscriber.rs:702
Methodnew
(metadata: &'static Metadata<'static>, fields: &'a field::ValueSet<'a>)
tracing-core/src/event.rs:42
Methodnew
(data: T)
tracing-core/src/sync.rs:14
Methodnew
Returns a new `DefaultCallsite` with the specified `Metadata`.
tracing-core/src/callsite.rs:280
Methodnew
Creates a new spinlock wrapping the supplied data.
tracing-core/src/spin/mutex.rs:31
Methodnew
Creates a new `Once` value.
tracing-core/src/spin/once.rs:48
Methodnew
(sleep_micros: u64)
tracing-core/tests/missed_register_callsite.rs:21
Methodnew
Create a new map visitor.
tracing-serde/src/lib.rs:368
Methodnew
(inner: M, get_span: G)
tracing-tower/src/service_span.rs:197
Methodnew
(inner: S, get_span: G)
tracing-tower/src/request_span.rs:184
Methodnew
()
tracing-appender/benches/bench.rs:16
Methodnew
Creates a new `RollingFileAppender`. A `RollingFileAppender` will have a fixed rotation whose frequency is defined by [`Rotation`]. The `directory` a
tracing-appender/src/rolling.rs:143
Methodnew
Returns a new `NonBlocking` writer wrapping the provided `writer`. The returned `NonBlocking` writer will have the [default configuration][default] v
tracing-appender/src/non_blocking.rs:145
Methodnew
(receiver: Receiver<Msg>, writer: T, shutdown: Receiver<()>)
tracing-appender/src/worker.rs:22
Methodnew
(val: T)
tracing-appender/src/sync.rs:28
Methodnew
()
tracing-appender/src/rolling/builder.rs:52
Methodnew
Returns a new `FlameLayer` that outputs all folded stack samples to the provided writer.
tracing-flame/src/lib.rs:265
Methodnew
Returns a new `ErrorLayer` with the provided [field formatter]. [field formatter]: tracing_subscriber::fmt::FormatFields
tracing-error/src/layer.rs:73
Methodnew
Create a new span trace with the given span as the innermost span.
tracing-error/src/backtrace.rs:72
Methodnew
( id: tracing_core::span::Id, metadata: Option<&'static tracing_core::Metadata<'static>>,
tracing-mock/src/span.rs:188
Methodnew
(expected: Arc<Mutex<VecDeque<Expect>>>, name: String)
tracing-mock/src/subscriber.rs:1406
Methodnew
Creates a new instance of the application, ready to run
examples/examples/env-filter-explorer.rs:57
Methodnew
()
examples/examples/counters.rs:112
Methodnew
(message: &'static str)
examples/examples/instrumented-error.rs:16
Methodnew
(message: &'static str)
examples/examples/custom-error.rs:18
Methodnew
()
examples/examples/sloggish/sloggish_subscriber.rs:39
Methodnew
(cs: &'static dyn Callsite)
tracing-log/src/lib.rs:263
Methodnew
Creates a new `LogTracer` that can then be used as a logger for the `log` crate. It is generally simpler to use the [`init`] or [`init_with_filter`]
tracing-log/src/log_tracer.rs:98
Methodnew
(epoch: usize, config: &InterestCacheConfig)
tracing-log/src/interest_cache.rs:97
Methodnew
Construct a journald layer Fails if the journald socket couldn't be opened. Returns a `NotFound` error unconditionally in non-Unix environments.
tracing-journald/src/lib.rs:101
Methodnew
()
tracing/benches/empty_span.rs:27
Methodnew
Constructs a new `Span` with the given [metadata] and set of [field values]. The new span will be constructed by the currently-active [`Subscriber`],
tracing/src/span.rs:437
Methodnew
Convert `"prefix.r#keyword.suffix"` to `b"prefix.keyword.suffix"`.
tracing/src/lib.rs:1078
Methodnew
(sleep_micros: u64)
tracing/tests/missed_register_callsite.rs:18
Methodnew
()
tracing-subscriber/benches/fmt.rs:25
Methodnew
(dispatch: Dispatch)
tracing-subscriber/benches/support/mod.rs:16
Methodnew
Wraps the given [`Layer`] or [`Filter`], returning a `reload::Layer` and a `Handle` that allows the inner value to be modified at runtime. [`Layer`]:
tracing-subscriber/src/reload.rs:263
Methodnew
(e: impl Into<Box<dyn Error + Send + Sync + 'static>>)
tracing-subscriber/src/util.rs:113
Methodnew
(val: T)
tracing-subscriber/src/sync.rs:30
Methodnew
(inner: RwLockReadGuard<'a, ExtensionsInner>)
tracing-subscriber/src/registry/extensions.rs:45
Methodnew
()
tracing-subscriber/src/registry/sharded.rs:640
Methodnew
Returns a new `Identity` layer.
tracing-subscriber/src/layer/mod.rs:1920
Methodnew
(layer: A, inner: B, inner_has_layer_filter: bool)
tracing-subscriber/src/layer/layered.rs:416
Methodnew
(subscriber: &'a S)
tracing-subscriber/src/layer/context.rs:55
Methodnew
( target: Option<String>, field_names: Vec<String>, level: LevelFilter, )
tracing-subscriber/src/filter/directive.rs:166
Methodnew
Returns a new `Targets` filter. This filter will enable no targets. Call [`with_target`] or [`with_targets`] to add enabled targets, and [`with_defau
tracing-subscriber/src/filter/targets.rs:184
Methodnew
Constructs a [`FilterFn`] from a function or closure that returns `true` if a span or event should be enabled, based on its [`Metadata`]. If determin
tracing-subscriber/src/filter/filter_fn.rs:225
Methodnew
Returns a new `EnvFilter` from the directives in the given string, ignoring any that are invalid. If the string is empty or contains only invalid dir
tracing-subscriber/src/filter/env/mod.rs:350
Methodnew
(s: &str)
tracing-subscriber/src/filter/env/field.rs:355
Methodnew
()
tracing-subscriber/src/filter/layer_filters/mod.rs:107
Methodnew
Combines two [`Filter`]s so that spans and events are enabled if and only if both* filters return `true`. # Examples Enabling spans or events if the
tracing-subscriber/src/filter/layer_filters/combinator.rs:101
Methodnew
Returns a new [`MakeVisitor`] implementation that wraps `inner` so that it will format each visited field separated by the provided `delimiter`. [`Ma
tracing-subscriber/src/field/delimited.rs:45
Methodnew
Returns a new [`MakeVisitor`] implementation that will wrap `inner` so that any strings named `message` are formatted using `fmt::Display`. [`MakeVis
tracing-subscriber/src/field/display.rs:22
Methodnew
(writer: &'a mut dyn fmt::Write)
tracing-subscriber/src/field/mod.rs:333
Methodnew
Wraps the provided visitor so that any `fmt::Debug` fields are formatted using the alternative (`:#`) formatter.
tracing-subscriber/src/field/debug.rs:20
Methodnew
Returns a new format subscriber with the default configuration.
tracing-subscriber/src/fmt/mod.rs:357
Methodnew
Returns a new `TestWriter` with the default configuration.
tracing-subscriber/src/fmt/writer.rs:715
Methodnew
Returns a new [`Layer`][self::Layer] with the default configuration.
tracing-subscriber/src/fmt/fmt_layer.rs:82
Methodnew
Format the time using the given format string. See [`chrono::format::strftime`] for details on the supported syntax.
tracing-subscriber/src/fmt/time/chrono_crate.rs:38
Methodnew
Returns a formatter that formats the current [local time] using the [`time` crate] with the provided provided format. The format may be any type that
tracing-subscriber/src/fmt/time/time_crate.rs:173
Methodnew
(value: T, sanitize: bool)
tracing-subscriber/src/fmt/format/escape.rs:12
Methodnew
Returns a new default [`PrettyFields`] implementation.
tracing-subscriber/src/fmt/format/pretty.rs:367
Methodnew
(writer: &'writer mut impl fmt::Write)
tracing-subscriber/src/fmt/format/mod.rs:441
Methodnew
Returns a new JSON [`FormatFields`] implementation.
tracing-subscriber/src/fmt/format/json.rs:356
Methodnew
()
tracing-subscriber/tests/ansi_escaping.rs:11
Methodnew_child_of
( parent: impl Into<Option<Id>>, metadata: &'static Metadata<'static>, fields: &'a fie
tracing-core/src/event.rs:53
Methodnew_disabled
(meta: &'static Metadata<'static>)
tracing/src/span.rs:520
Functionnew_empty_string
()
tracing-subscriber/tests/env_filter/main.rs:307
← previousnext →1,701–1,800 of 2,480, ranked by callers