MCPcopy Create free account

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

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

↓ 5 callersMethodcontains
Returns `true` if this set of `Attributes` contains a value for the given `Field`.
tracing-core/src/span.rs:190
↓ 5 callersMethoddelimit
(&mut self)
tracing-subscriber/src/field/delimited.rs:66
↓ 5 callersMethoddirectives
(&self)
tracing-subscriber/src/filter/directive.rs:72
↓ 5 callersFunctiondynamic_filter_fn
Constructs a [`DynFilterFn`] from a function or closure that returns `true` if a span or event should be enabled within a particular [span context][`C
tracing-subscriber/src/filter/filter_fn.rs:175
↓ 5 callersMethodenter
(&self, span: &Id)
tracing-subscriber/benches/filter.rs:35
↓ 5 callersMethodflush
(&mut self)
tracing-appender/src/rolling.rs:238
↓ 5 callersFunctionget_ancestry
Determines the ancestry of an actual span or event. The rules for determining the ancestry are as follows: +------------+--------------+------------
tracing-mock/src/ancestry.rs:151
↓ 5 callersMethodif_enabled_for
(self, span: &span::Id, filter: FilterId)
tracing-subscriber/src/layer/context.rs:391
↓ 5 callersMethodinit
Install this Subscriber as the global default. If the `tracing-log` feature is enabled, this will also install the LogTracer to convert `Log` records
tracing-subscriber/src/fmt/mod.rs:518
↓ 5 callersMethodis_never
(&self)
tracing-core/src/subscriber.rs:634
↓ 5 callersMethodis_span
Return true if the callsite kind is `Span`.
tracing-core/src/metadata.rs:330
↓ 5 callersMethodmetadata
(&self)
tracing-log/src/interest_cache.rs:127
↓ 5 callersMethodmetadata
(&self, id: &Id)
tracing-subscriber/src/fmt/fmt_layer.rs:1140
↓ 5 callersMethodon_register_dispatch
Adds an expectation that [`Layer::on_register_dispatch`] will be called next. Note**: This expectation is usually fulfilled automatically when a laye
tracing-mock/src/layer.rs:719
↓ 5 callersMethodregister_callsite
(&self, metadata: &'static Metadata<'static>)
tracing-subscriber/src/filter/env/mod.rs:656
↓ 5 callersMethodreload
Replace the current [`Layer`] or [`Filter`] with the provided `new_value`. [`Handle::reload`] cannot be used with the [`Filtered`] layer; use [`Handl
tracing-subscriber/src/reload.rs:300
↓ 5 callersMethodremove
Remove a type from this `Extensions`. If a extension of this type existed, it will be returned.
tracing-subscriber/src/registry/extensions.rs:106
↓ 5 callersMethodset_default
(new_dispatch: Dispatch)
tracing-core/src/dispatcher.rs:841
↓ 5 callersMethodspan_for
(&self, target: &T)
tracing-tower/src/lib.rs:87
↓ 5 callersFunctiontest_appender
(rotation: Rotation, file_prefix: &str)
tracing-appender/src/rolling.rs:864
↓ 5 callersFunctiontest_callsite
(level: log::Level)
tracing-log/src/lib.rs:555
↓ 5 callersMethodwith_filter
Wraps `self` with a predicate that takes a span or event's [`Metadata`] and returns a `bool`. The returned [`MakeWriter`]'s [`MakeWriter::make_writer_
tracing-subscriber/src/fmt/writer.rs:400
↓ 4 callersMethodadd
(&mut self, directive: T)
tracing-subscriber/src/filter/directive.rs:83
↓ 4 callersMethodand
Combines two `FilterId`s, returning a new `FilterId` that will match a [`FilterMap`] where the span was disabled by _either_ this `FilterId` or* the c
tracing-subscriber/src/filter/layer_filters/mod.rs:995
↓ 4 callersMethodboxed
(self)
tracing-subscriber/src/layer/mod.rs:1235
↓ 4 callersMethodcall
(&mut self, _v: usize)
tracing-attributes/tests/async_fn.rs:263
↓ 4 callersMethodcompact
Sets the subscriber being built to use a less verbose formatter. See [`format::Compact`].
tracing-subscriber/src/fmt/mod.rs:758
↓ 4 callersFunctioncreate
(flags: c_uint)
tracing-journald/src/memfd.rs:10
↓ 4 callersMethoddate_format
(&self)
tracing-appender/src/rolling.rs:560
↓ 4 callersFunctionevents
()
tracing-subscriber/tests/hinted_layer_filters_dont_break_other_layers.rs:99
↓ 4 callersFunctionevents
()
tracing-subscriber/tests/cached_layer_filters_dont_break_other_layers.rs:96
↓ 4 callersFunctionevents
()
tracing-subscriber/tests/unhinted_layer_filters_dont_break_other_layers.rs:96
↓ 4 callersFunctionexpect_parse
(dirs: impl AsRef<str>)
tracing-subscriber/src/filter/env/directive.rs:494
↓ 4 callersMethodextend
(&mut self, iter: I)
tracing-subscriber/src/filter/targets.rs:408
↓ 4 callersMethodfield
Returns a [`Field`][super::field::Field] for the field with the given `name`, if one exists,
tracing/src/span.rs:1121
↓ 4 callersFunctionfilter
()
tracing-subscriber/tests/hinted_layer_filters_dont_break_other_layers.rs:107
↓ 4 callersFunctionfilter
()
tracing-subscriber/tests/cached_layer_filters_dont_break_other_layers.rs:104
↓ 4 callersFunctionfilter
()
tracing-subscriber/tests/unhinted_layer_filters_dont_break_other_layers.rs:104
↓ 4 callersFunctionfiltered
(name: &str)
tracing-subscriber/tests/hinted_layer_filters_dont_break_other_layers.rs:127
↓ 4 callersFunctionfiltered
(name: &str)
tracing-subscriber/tests/cached_layer_filters_dont_break_other_layers.rs:119
↓ 4 callersFunctionfiltered
(name: &str)
tracing-subscriber/tests/unhinted_layer_filters_dont_break_other_layers.rs:119
↓ 4 callersMethodfinish
(self)
tracing-subscriber/src/field/mod.rs:348
↓ 4 callersMethodfinish
(self)
tracing-subscriber/src/fmt/format/mod.rs:1344
↓ 4 callersFunctionfor_all_dispatches
( group: &mut criterion::BenchmarkGroup<'_, WallTime>, mut iter: impl FnMut(&mut Bencher<'_, WallTime>
tracing/benches/shared.rs:35
↓ 4 callersFunctionfor_all_recording
( group: &mut criterion::BenchmarkGroup<'_, WallTime>, mut iter: impl FnMut(&mut Bencher<'_, WallTime>
tracing/benches/shared.rs:10
↓ 4 callersMethodhas_ansi_escapes
Returns `true` if [ANSI escape codes] may be used to add colors and other formatting when writing to this `Writer`. If this returns `false`, formatte
tracing-subscriber/src/fmt/format/mod.rs:541
↓ 4 callersFunctionhas_lines
(buf: &Mutex<Vec<u8>>, msgs: &[(tracing::Level, &str)])
tracing-subscriber/src/fmt/writer.rs:1260
↓ 4 callersFunctionid
Returns a new, unset `ExpectedId`. The `ExpectedId` needs to be attached to a [`NewSpan`] or an [`ExpectedSpan`] passed to [`MockSubscriber::new_span
tracing-mock/src/expect.rs:262
↓ 4 callersMethodid
The Id of the actual span.
tracing-mock/src/span.rs:196
↓ 4 callersMethodinto_inner
Consumes `self` and returns the span `Id` and `Metadata` of the current span, if one exists and is known.
tracing-core/src/span.rs:294
↓ 4 callersMethodinto_u64
Returns the span's ID as a `u64`.
tracing-core/src/span.rs:86
↓ 4 callersMethodis_always
(&self)
tracing-core/src/subscriber.rs:648
↓ 4 callersMethodis_enabled_for
(&self, filter: FilterId)
tracing-subscriber/src/registry/mod.rs:504
↓ 4 callersMethodis_event
Returns true if the callsite kind is `Event`.
tracing-core/src/metadata.rs:325
↓ 4 callersMethodjoin_date
Returns the full filename for the provided date, using [`Rotation`] to round accordingly.
tracing-appender/src/rolling.rs:629
↓ 4 callersFunctionlayer
()
tracing-subscriber/tests/layer_filters/boxed.rs:5
↓ 4 callersMethodlayer
(&self, inner: S)
tracing-tower/src/service_span.rs:54
↓ 4 callersMethodlen
For `"prefix.r#keyword.suffix"` compute `"prefix.keyword.suffix".len()`.
tracing/src/lib.rs:1106
↓ 4 callersMethodlevel
(&self)
tracing-subscriber/src/filter/env/directive.rs:271
↓ 4 callersMethodlookup_current
(&self)
tracing-subscriber/src/fmt/fmt_layer.rs:1177
↓ 4 callersMethodmetadata
Returns a static reference to the span's metadata.
tracing-subscriber/src/registry/mod.rs:346
↓ 4 callersFunctionmy_fn
()
tracing-attributes/tests/instrument.rs:19
↓ 4 callersMethodname
Returns a string representing the name of the field.
tracing-core/src/field.rs:813
↓ 4 callersMethodnormalized_metadata
(&'a self)
tracing-log/src/lib.rs:471
↓ 4 callersFunctionparse_date_from_filename
( filename: &str, date_format: &Vec<format_description::FormatItem<'static>>, prefix: Option<&str>
tracing-appender/src/rolling.rs:813
↓ 4 callersMethodpretty
( self, )
tracing-subscriber/src/fmt/mod.rs:771
↓ 4 callersFunctionput_field_length_encoded
Append a sanitized and length-encoded field into `buf`. Unlike `put_field_wellformed` this function handles arbitrary field names and values. `name`
tracing-journald/src/lib.rs:578
↓ 4 callersMethodrecord
(&self, _: &tracing::span::Id, _: &tracing::span::Record)
tracing/test-log-support/tests/log_with_trace.rs:15
↓ 4 callersMethodreplace
Replaces an existing `T` into this extensions. If `T` is not present, `Option::None` will be returned.
tracing-subscriber/src/registry/extensions.rs:94
↓ 4 callersMethodround_date
Rounds the date towards the past using the [`Rotation`] interval. # Panics This method will panic if `self`` uses [`Rotation::NEVER`].
tracing-appender/src/rolling.rs:528
↓ 4 callersMethodspan
Returns a [`SpanRef`] for the span with the given `Id`, if it exists. A `SpanRef` is similar to [`SpanData`], but it allows performing additional loo
tracing-subscriber/src/registry/mod.rs:118
↓ 4 callersMethodspawn
( &mut self, future: Box<dyn Future<Error = (), Item = ()> + 'static + Send>,
tracing-futures/src/executor/futures_01.rs:54
↓ 4 callersMethodtrace_close
(&self)
tracing-subscriber/src/fmt/format/mod.rs:1756
↓ 4 callersFunctionunfiltered
(name: &str)
tracing-subscriber/tests/hinted_layer_filters_dont_break_other_layers.rs:116
↓ 4 callersFunctionunfiltered
(name: &str)
tracing-subscriber/tests/cached_layer_filters_dont_break_other_layers.rs:108
↓ 4 callersFunctionunfiltered
(name: &str)
tracing-subscriber/tests/unhinted_layer_filters_dont_break_other_layers.rs:108
↓ 4 callersFunctionwarn
()
tracing-attributes/tests/levels.rs:18
↓ 4 callersMethodwith_default_directive
Sets a default [filtering directive] that will be added to the filter if the parsed string or environment variable contains no filter directives. By
tracing-subscriber/src/filter/env/builder.rs:116
↓ 4 callersMethodwith_field_prefix
Sets the prefix to apply to names of user-defined fields other than the event `message` field. Defaults to `Some("F")`.
tracing-journald/src/lib.rs:134
↓ 4 callersMethodwith_file
Sets whether or not an event's [source code file path][file] is displayed. [file]: tracing_core::Metadata::file
tracing-subscriber/src/fmt/format/mod.rs:814
↓ 4 callersFunctionwith_journald_layer
(layer: Layer, f: impl FnOnce())
tracing-journald/tests/journal.rs:32
↓ 4 callersMethodwith_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/format/mod.rs:825
↓ 4 callersMethodwith_max_level
Wraps `self` and returns a [`MakeWriter`] that will only write output for events at or below the provided verbosity [`Level`]. For instance, `Level::T
tracing-subscriber/src/fmt/writer.rs:279
↓ 4 callersMethodwrite_str
(&mut self, s: &str)
tracing-subscriber/src/filter/env/field.rs:377
↓ 3 callersMethodas_trace
(&self)
tracing-log/src/lib.rs:231
↓ 3 callersMethodassert_not_logged
(&self)
tracing/test-log-support/src/lib.rs:80
↓ 3 callersMethodassert_removed
(&self, span: &str)
tracing-subscriber/src/registry/sharded.rs:690
↓ 3 callersFunctionassert_subscriber
(_s: impl Subscriber)
tracing-subscriber/src/layer/tests.rs:45
↓ 3 callersMethodbold
(&self)
tracing-subscriber/src/fmt/format/pretty.rs:431
↓ 3 callersMethodbold
(&self)
tracing-subscriber/src/fmt/format/mod.rs:550
↓ 3 callersMethodchecker
( &'a mut self, ctx: &'a str, subscriber_name: &'a str, )
tracing-mock/src/field.rs:493
↓ 3 callersMethoddimmed
(&self)
tracing-subscriber/src/fmt/format/mod.rs:561
↓ 3 callersMethodenabled
(&self, _metadata: &log::Metadata)
tracing/benches/shared.rs:60
↓ 3 callersMethodenter
(&self)
tracing/src/span.rs:800
↓ 3 callersMethodenv_var_name
(&self)
tracing-subscriber/src/filter/env/builder.rs:343
↓ 3 callersFunctionerror
()
tracing-attributes/tests/levels.rs:21
↓ 3 callersMethoderror_counter
Returns a counter for the number of times logs where dropped. This will always return zero if `NonBlocking` is not lossy.
tracing-appender/src/non_blocking.rs:178
↓ 3 callersMethodevent_format
Sets the [event formatter][`FormatEvent`] that the layer being built will use to format events. The event formatter may be any type implementing the
tracing-subscriber/src/fmt/fmt_layer.rs:116
↓ 3 callersMethodevent_span
(&self, event: &Event<'_>)
tracing-subscriber/src/layer/context.rs:169
↓ 3 callersFunctionexpect_parse_level_directives
(s: &str)
tracing-subscriber/src/filter/targets.rs:630
← previousnext →201–300 of 2,480, ranked by callers