MCPcopy Create free account

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

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

Methodformat_event
( &self, ctx: &FmtContext<'_, C, N>, mut writer: Writer<'_>, event: &Event<'_>
tracing-subscriber/src/fmt/format/pretty.rs:175
Methodformat_event
( &self, ctx: &FmtContext<'_, S, N>, mut writer: Writer<'_>, event: &Event<'_>
tracing-subscriber/src/fmt/format/json.rs:221
Methodformat_fields
(&self, writer: Writer<'writer>, fields: R)
tracing-subscriber/src/fmt/format/pretty.rs:338
Methodformat_fields
Format the provided `fields` to the provided `writer`, returning a result.
tracing-subscriber/src/fmt/format/json.rs:369
Functionformat_nanos
()
tracing-subscriber/src/fmt/format/mod.rs:2185
Methodformat_time
(&self, w: &mut Writer<'_>)
tracing-subscriber/src/fmt/time/mod.rs:93
Methodformat_time
(&self, w: &mut Writer<'_>)
tracing-subscriber/src/fmt/time/chrono_crate.rs:46
Methodformat_time
(&self, w: &mut Writer<'_>)
tracing-subscriber/src/fmt/time/time_crate.rs:183
Functionformat_trace
Format a log record as a trace event in the current span.
tracing-log/src/lib.rs:160
Functionforward_downcast_raw_to_layer
()
tracing-subscriber/tests/layer_filters/downcast_raw.rs:32
Methodfrom
(subscriber: S)
tracing-core/src/dispatcher.rs:756
Methodfrom
(id: &'a Id)
tracing-core/src/span.rs:100
Methodfrom
(level: Level)
tracing-core/src/metadata.rs:614
Methodfrom
( ItemFn { attrs, vis, sig, block, }: ItemFn,
tracing-attributes/src/lib.rs:683
Methodfrom
(error: E)
tracing-error/src/error.rs:67
Methodfrom
(name: I)
tracing-mock/src/span.rs:142
Methodfrom
(field: ExpectedField)
tracing-mock/src/field.rs:318
Methodfrom
(span_state: &SpanState)
tracing-mock/src/subscriber.rs:171
Methodfrom
(span_ref: &SpanRef<'a, S>)
tracing-mock/src/layer.rs:866
Methodfrom
(span: &'a Span)
tracing/src/span.rs:1440
Methodfrom
(e: Box<dyn std::error::Error + Send + Sync>)
tracing-subscriber/src/filter/directive.rs:443
Methodfrom
(enabled: F)
tracing-subscriber/src/filter/filter_fn.rs:346
Methodfrom
(level: LevelFilter)
tracing-subscriber/src/filter/env/directive.rs:389
Methodfrom
(s: S)
tracing-subscriber/src/filter/env/mod.rs:778
Methodfrom
(builder: SubscriberBuilder<N, E, F, W>)
tracing-subscriber/src/fmt/mod.rs:532
Methodfrom
(opt: Option<T>)
tracing-subscriber/src/fmt/writer.rs:921
Methodfrom
(epoch: Instant)
tracing-subscriber/src/fmt/time/mod.rs:131
Methodfrom
(timestamp: std::time::SystemTime)
tracing-subscriber/src/fmt/time/datetime.rs:246
Methodfrom_builder
(builder: &Builder, directory: impl AsRef<Path>)
tracing-appender/src/rolling.rs:189
Methodfrom_default_env
Returns a new `EnvFilter` from the value of the `RUST_LOG` environment variable, ignoring any invalid filter directives. If the environment variable
tracing-subscriber/src/filter/env/mod.rs:289
Methodfrom_env
Returns a new `EnvFilter` from the value of the given environment variable, ignoring any invalid filter directives. If the environment variable is em
tracing-subscriber/src/filter/env/mod.rs:320
Methodfrom_env
Returns a new [`EnvFilter`] from the directives in the configured environment variable. If the environment variable is unset, no directive is added.
tracing-subscriber/src/filter/env/builder.rs:202
Methodfrom_fn
Get the AST of the inner function we need to hook, if it looks like a manual future implementation. When we are given a function that returns a (pinn
tracing-attributes/src/expand.rs:581
Methodfrom_iter
(iter: I)
tracing-subscriber/src/filter/directive.rs:107
Methodfrom_iter
(iter: I)
tracing-subscriber/src/filter/targets.rs:421
Methodfrom_level
Returns a `LevelFilter` that enables spans and events with verbosity up to and including `level`.
tracing-core/src/metadata.rs:661
Methodfrom_non_zero_u64
(id: NonZeroU64)
tracing-core/src/span.rs:79
Methodfrom_str
(s: &str)
tracing-core/src/metadata.rs:563
Methodfrom_str
(s: &str)
examples/examples/futures-proxy-server.rs:146
Methodfrom_str
(s: &str)
tracing-subscriber/src/filter/directive.rs:317
Methodfrom_str
(s: &str)
tracing-subscriber/src/filter/targets.rs:430
Methodfrom_str
(from: &str)
tracing-subscriber/src/filter/env/directive.rs:278
Methodfrom_str
(spec: &str)
tracing-subscriber/src/filter/env/mod.rs:769
Methodfrom_str
(s: &str)
tracing-subscriber/src/filter/env/field.rs:288
Methodfrom_u64
Constructs a new span ID from the given `u64`. <pre class="ignore" style="white-space:normal;font:inherit;"> <strong>Note</strong>: Span IDs must be
tracing-core/src/span.rs:71
Functionfuture_enter_exit_is_reasonable
()
tracing-futures/src/lib.rs:637
Functionfuture_error_ends_span
()
tracing-futures/src/lib.rs:658
Functionfuture_with_subscriber
()
tracing-subscriber/tests/registry_with_subscriber.rs:6
Methodge
(&self, other: &Level)
tracing-core/src/metadata.rs:940
Functiongenerics
()
tracing-attributes/tests/instrument.rs:160
Functionget_const_fn_field_name
()
tracing-attributes/tests/fields.rs:45
Methodget_context
( dispatch: &Dispatch, id: &span::Id, f: &mut dyn FnMut(&'static Metadata<'static>, &s
tracing-error/src/layer.rs:81
Functionget_current
(f: impl FnOnce(&Dispatch) -> T)
tracing-core/src/dispatcher.rs:410
Methodget_mut
(&mut self)
tracing-subscriber/src/sync.rs:37
Functionglobal_dispatch
()
tracing-core/tests/global_dispatch.rs:6
Functionglobal_filter_interests_are_cached
()
tracing-subscriber/tests/layer_filters/main.rs:109
Functionglobal_filters_affect_subscriber_filters
()
tracing-subscriber/tests/layer_filters/main.rs:137
Functionglobal_filters_subscribers_still_work
()
tracing-subscriber/tests/layer_filters/main.rs:86
Methodgt
(&self, other: &Level)
tracing-core/src/metadata.rs:935
Methodhandle
Get a new instrumented handle to spawn futures on the single-threaded Tokio runtime Different to the runtime itself, the handle can be sent to differ
tracing-futures/src/executor/futures_01.rs:189
Methodhandle_request
(req: Request<Body>)
examples/examples/tower-load.rs:124
Functionhandles_to_different_spans_are_not_equal
()
tracing/tests/span.rs:39
Functionhandles_to_different_spans_with_the_same_metadata_are_not_equal
()
tracing/tests/span.rs:52
Functionhandles_to_the_same_span_are_equal
()
tracing/tests/span.rs:19
Functionhas_been_set
()
tracing-core/src/dispatcher.rs:340
Methodhas_field
(&self, field: &Q)
tracing/src/span.rs:1128
Methodhas_value
(&self)
tracing-subscriber/src/filter/env/field.rs:154
Methodhash
(&self, state: &mut H)
tracing-core/src/field.rs:844
Methodhash
(&self, state: &mut H)
tracing-core/src/callsite.rs:392
Methodhash
(&self, hasher: &mut H)
tracing/src/span.rs:1401
Methodhint
Sets that this `Kind` is a [hint](Self::HINT). This can be called on [`SPAN`](Self::SPAN) and [`EVENT`](Self::EVENT) kinds to construct a hint callsi
tracing-core/src/metadata.rs:411
Methodignore_all
Configures the `LogTracer` to ignore all log records whose target starts with any of the given the given strings. This should be used when a crate en
tracing-log/src/log_tracer.rs:243
Methodignore_crate
Configures the `LogTracer` to ignore all log records whose target starts with the given string. This should be used when a crate enables the `tracing
tracing-log/src/log_tracer.rs:232
Functionimpl_trait_return_type
()
tracing-attributes/tests/instrument.rs:229
Functionimpl_trait_return_type
()
tracing-attributes/tests/err.rs:151
Functionimpls
()
tracing-subscriber/src/fmt/mod.rs:1352
Functionimpls
()
tracing-subscriber/src/fmt/fmt_layer.rs:1313
Methodin_current_span
(self)
tracing-futures/src/lib.rs:196
Methodin_current_span
(self)
tracing/src/instrument.rs:128
Methodindex
Returns the index of this field in its [`FieldSet`].
tracing-core/src/field.rs:818
Functionindex_of_field_in_fieldset_is_correct
()
tracing-core/src/field.rs:1235
Functioninfo
()
tracing/tests/macros.rs:733
Functioninfo_callsite_is_correct
()
tracing-log/src/lib.rs:589
Functioninfo_root
()
tracing/tests/macros.rs:1055
Functioninfo_span
()
tracing/tests/macros.rs:97
Functioninfo_span_root
()
tracing/tests/macros.rs:232
Functioninfo_span_with_parent
()
tracing/tests/macros.rs:347
Functioninfo_with_parent
()
tracing/tests/macros.rs:1258
Functioninit_ext_works
()
tracing-subscriber/tests/utils.rs:7
Methodinit_with_filter
(level: log::LevelFilter)
tracing-log/src/log_tracer.rs:115
Methodinner
Borrows the wrapped type.
tracing-futures/src/lib.rs:463
Methodinner
Borrows the wrapped type.
tracing/src/instrument.rs:339
Methodinner
Borrows the inner [`Layer`] wrapped by this `Filtered` layer.
tracing-subscriber/src/filter/layer_filters/mod.rs:680
Functioninner_layer_short_circuits
()
tracing-subscriber/tests/layer_filters/targets.rs:36
Methodinner_mut
Mutably borrows the wrapped type.
tracing-futures/src/lib.rs:468
Methodinner_mut
Mutably borrows the wrapped type.
tracing/src/instrument.rs:344
Methodinner_mut
Mutably borrows the inner [`Layer`] wrapped by this `Filtered` layer. This method is primarily expected to be used with the [`reload::Handle::modify`
tracing-subscriber/src/filter/layer_filters/mod.rs:713
Methodinner_pin_mut
(self: Pin<&mut Self>)
tracing-futures/src/lib.rs:482
Methodinner_pin_mut
Get a pinned mutable reference to the wrapped type.
tracing/src/instrument.rs:354
Methodinner_pin_ref
(self: Pin<&Self>)
tracing-futures/src/lib.rs:475
← previousnext →1,401–1,500 of 2,480, ranked by callers