Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/tokio-rs/tracing
/ functions
Functions
2,480 in github.com/tokio-rs/tracing
⨍
Functions
2,480
◇
Types & classes
463
Method
new_err
(finish_at: usize)
tracing-futures/src/lib.rs:610
Method
new_err
(finish_at: usize)
tracing-test/src/lib.rs:43
Method
new_for
We don't actually _use_ the provided event argument; it is simply to ensure that the `LogVisitor` does not outlive the event whose fields it is visiti
tracing-log/src/lib.rs:509
Function
new_invalid_string
()
tracing-subscriber/tests/env_filter/main.rs:287
Method
new_ok
(finish_at: usize)
tracing-futures/src/lib.rs:602
Method
new_ok
(finish_at: usize)
tracing-test/src/lib.rs:35
Method
new_root
Returns `Attributes` describing a new span at the root of its own trace tree, with the provided metadata and values.
tracing-core/src/span.rs:120
Method
new_root
Constructs a new `Span` as the root of its own trace tree, with the given [metadata] and set of [field values]. After the span is constructed, [field
tracing/src/span.rs:461
Method
new_root_with
( meta: &'static Metadata<'static>, values: &field::ValueSet<'_>, dispatch: &Dispatch,
tracing/src/span.rs:467
Method
new_span
(&self, _: &span::Attributes<'_>)
tracing-core/src/subscriber.rs:680
Method
new_span
(&self, _span: &span::Attributes<'_>)
tracing-core/tests/missed_register_callsite.rs:57
Method
new_span
(&self, _: &span::Attributes<'_>)
tracing-core/tests/common/mod.rs:8
Method
new_span
Adds an expectation that the creation of a span will be recorded next. This function accepts `Into<NewSpan>` instead of [`ExpectedSpan`] directly, so
tracing-mock/src/subscriber.rs:446
Method
new_span
(&self, new_span: &span::Attributes<'_>)
examples/examples/counters.rs:79
Method
new_span
(&self, attrs: &Attributes<'_>)
examples/examples/serde-yak-shave.rs:31
Method
new_span
(&self, span: &tracing::span::Attributes<'_>)
examples/examples/sloggish/sloggish_subscriber.rs:201
Method
new_span
(&self, _span: &Attributes<'_>)
tracing-log/tests/log_tracer.rs:33
Method
new_span
(&self, _: &tracing::span::Attributes)
tracing/test-log-support/tests/log_with_trace.rs:10
Method
new_span
(&self, _span: &span::Attributes<'_>)
tracing/tests/missed_register_callsite.rs:70
Method
new_span
(&self, _: &span::Attributes<'_>)
tracing/tests/register_callsite_deadlock.rs:22
Method
new_span
(&self, span: &Attributes)
tracing/test_static_max_level_features/tests/test.rs:27
Method
new_span
(&self, span: &span::Attributes<'_>)
tracing-subscriber/benches/filter.rs:13
Method
new_span
(&self, span: &span::Attributes<'_>)
tracing-subscriber/benches/filter_log.rs:13
Method
new_span
(&self, attrs: &span::Attributes<'_>)
tracing-subscriber/src/registry/sharded.rs:238
Method
new_span
(&self, span: &span::Attributes<'_>)
tracing-subscriber/src/layer/layered.rs:130
Method
new_span
(&self, _: &span::Attributes<'_>)
tracing-subscriber/src/layer/tests.rs:34
Method
new_span
(&self, _: &span::Attributes<'_>)
tracing-subscriber/src/filter/env/mod.rs:866
Method
new_span
(&self, attrs: &span::Attributes<'_>)
tracing-subscriber/src/fmt/mod.rs:390
Method
new_span
(&self, span: &span::Attributes<'_>)
tracing-subscriber/tests/registry_span_instrument_drop.rs:85
Function
new_span_after_event
()
tracing/tests/span.rs:162
Function
new_span_with_target_and_log_level
()
tracing/tests/span.rs:776
Method
new_unset
()
tracing-mock/src/span.rs:983
Method
new_with
( meta: &'static Metadata<'static>, values: &field::ValueSet<'_>, dispatch: &Dispatch,
tracing/src/span.rs:443
Function
no_subscriber_disables_global
()
tracing/tests/no_subscriber.rs:7
Function
non_blocking_benchmark
(c: &mut Criterion)
tracing-appender/benches/bench.rs:84
Method
none
()
tracing-core/src/dispatcher.rs:463
Method
none
Constructs a new `Current` that indicates the current context is *not in a span.
tracing-core/src/span.rs:262
Method
none
()
tracing/src/span.rs:534
Method
none
()
tracing-subscriber/src/layer/context.rs:412
Method
none
Returns a `FilterId` that will consider _all_ spans enabled.
tracing-subscriber/src/filter/layer_filters/mod.rs:908
Method
none
()
tracing-subscriber/src/fmt/writer.rs:906
Function
none_inside_doesnt_override_max_level
()
tracing-subscriber/tests/option.rs:154
Function
none_interest_cache
()
tracing-subscriber/tests/option_filter_interest_caching.rs:14
Function
none_max_level_hint
()
tracing-subscriber/tests/layer_filters/option.rs:70
Function
none_outside_doesnt_override_max_level
()
tracing-subscriber/tests/option.rs:62
Function
normalized_metadata
()
tracing-log/tests/log_tracer.rs:62
Method
not
Inverts `self`, returning a filter that enables spans and events only if `self` would *not* enable them. This inverts the values returned by the [`en
tracing-subscriber/src/filter/layer_filters/mod.rs:373
Function
not_order_dependent
()
tracing-subscriber/tests/env_filter/main.rs:131
Function
not_order_dependent
()
tracing-subscriber/tests/env_filter/per_layer.rs:127
Function
numeric_levels
()
tracing-attributes/tests/levels.rs:53
Function
object_ref
# SAFETY This function must be parameterized on the type E of the original error that is being stored inside of the `ErrorImpl`. When it is parameter
tracing-error/src/error.rs:125
Method
on_close
(&self, id: Id, cx: Context<'_, C>)
tracing-mock/src/layer.rs:1033
Method
on_close
(&self, id: span::Id, ctx: layer::Context<'_, S>)
tracing-subscriber/src/reload.rs:173
Method
on_close
(&self, id: Id, ctx: Context<'_, S>)
tracing-subscriber/src/registry/sharded.rs:555
Method
on_close
Notifies this layer that the span with the given ID has been closed.
tracing-subscriber/src/layer/mod.rs:937
Method
on_close
(&self, id: span::Id, ctx: Context<'_, S>)
tracing-subscriber/src/layer/mod.rs:1657
Method
on_close
Informs the filter that the span with the provided `id` was closed. This is equivalent to calling the [`Layer::on_close`] or [`Filter::on_close`] met
tracing-subscriber/src/filter/env/mod.rs:615
Method
on_close
(&self, id: span::Id, ctx: Context<'_, S>)
tracing-subscriber/src/filter/layer_filters/mod.rs:603
Method
on_close
(&self, id: Id, ctx: Context<'_, S>)
tracing-subscriber/src/filter/layer_filters/combinator.rs:170
Method
on_close
(&self, id: Id, ctx: Context<'_, S>)
tracing-subscriber/src/fmt/fmt_layer.rs:978
Method
on_close
(&self, _id: Id, _ctx: Context<'_, CountingSubscriber>)
tracing-subscriber/tests/registry_span_instrument_drop.rs:137
Method
on_enter
(&self, id: &span::Id, ctx: Context<'_, S>)
tracing-flame/src/lib.rs:390
Method
on_enter
(&self, id: &Id, cx: Context<'_, C>)
tracing-mock/src/layer.rs:989
Method
on_enter
(&self, id: &span::Id, ctx: layer::Context<'_, S>)
tracing-subscriber/src/reload.rs:163
Method
on_enter
(&self, id: &span::Id, ctx: Context<'_, S>)
tracing-subscriber/src/registry/mod.rs:541
Method
on_enter
Notifies this layer that a span with the given ID was entered.
tracing-subscriber/src/layer/mod.rs:931
Method
on_enter
(&self, id: &span::Id, ctx: Context<'_, S>)
tracing-subscriber/src/layer/mod.rs:1643
Method
on_enter
Informs the filter that the span with the provided `id` was entered. This is equivalent to calling the [`Layer::on_enter`] or [`Filter::on_enter`] me
tracing-subscriber/src/filter/env/mod.rs:584
Method
on_enter
(&self, id: &span::Id, ctx: Context<'_, S>)
tracing-subscriber/src/filter/layer_filters/mod.rs:589
Method
on_enter
(&self, id: &Id, ctx: Context<'_, S>)
tracing-subscriber/src/filter/layer_filters/combinator.rs:158
Method
on_enter
(&self, id: &Id, ctx: Context<'_, S>)
tracing-subscriber/src/fmt/fmt_layer.rs:932
Method
on_enter
(&self, _id: &span::Id, _ctx: Context<'_, CountingSubscriber>)
tracing-subscriber/tests/registry_span_instrument_drop.rs:129
Method
on_event
(&self, event: &Event<'_>, cx: Context<'_, C>)
tracing-mock/src/layer.rs:941
Method
on_event
( &self, event: &tracing_core::Event<'_>, ctx: tracing_subscriber::layer::
tracing-mock/tests/on_register_dispatch.rs:86
Method
on_event
(&self, event: &Event<'_>, ctx: Context<'_, S>)
tracing-journald/src/lib.rs:330
Method
on_event
(&self, event: &Event<'_>, ctx: layer::Context<'_, S>)
tracing-subscriber/src/reload.rs:158
Method
on_event
Notifies this layer that an event has occurred.
tracing-subscriber/src/layer/mod.rs:928
Method
on_event
(&self, event: &Event<'_>, ctx: Context<'_, S>)
tracing-subscriber/src/layer/mod.rs:1636
Method
on_event
(&self, event: &Event<'_>, ctx: Context<'_, S>)
tracing-subscriber/src/layer/tests.rs:134
Method
on_event
(&self, event: &Event<'_>, cx: Context<'_, S>)
tracing-subscriber/src/filter/layer_filters/mod.rs:837
Method
on_event
(&self, event: &Event<'_>, ctx: Context<'_, S>)
tracing-subscriber/src/fmt/fmt_layer.rs:1017
Method
on_event
(&self, _event: &Event<'_>, _ctx: Context<'_, C>)
tracing-subscriber/tests/event_enabling.rs:27
Method
on_exit
(&self, id: &span::Id, ctx: Context<'_, S>)
tracing-flame/src/lib.rs:421
Method
on_exit
(&self, id: &Id, cx: Context<'_, C>)
tracing-mock/src/layer.rs:1004
Method
on_exit
(&self, id: &span::Id, ctx: layer::Context<'_, S>)
tracing-subscriber/src/reload.rs:168
Method
on_exit
Notifies this layer that the span with the given ID was exited.
tracing-subscriber/src/layer/mod.rs:934
Method
on_exit
(&self, id: &span::Id, ctx: Context<'_, S>)
tracing-subscriber/src/layer/mod.rs:1650
Method
on_exit
Informs the filter that the span with the provided `id` was exited. This is equivalent to calling the [`Layer::on_exit`] or [`Filter::on_exit`] metho
tracing-subscriber/src/filter/env/mod.rs:601
Method
on_exit
(&self, id: &span::Id, ctx: Context<'_, S>)
tracing-subscriber/src/filter/layer_filters/mod.rs:596
Method
on_exit
(&self, id: &Id, ctx: Context<'_, S>)
tracing-subscriber/src/filter/layer_filters/combinator.rs:164
Method
on_exit
(&self, id: &Id, ctx: Context<'_, S>)
tracing-subscriber/src/fmt/fmt_layer.rs:955
Method
on_exit
(&self, _id: &span::Id, _ctx: Context<'_, CountingSubscriber>)
tracing-subscriber/tests/registry_span_instrument_drop.rs:133
Method
on_follows_from
(&self, _span: &Id, _follows: &Id, _: Context<'_, C>)
tracing-mock/src/layer.rs:963
Method
on_follows_from
(&self, span: &span::Id, follows: &span::Id, ctx: layer::Context<'_, S>)
tracing-subscriber/src/reload.rs:148
Method
on_follows_from
Notifies this layer that a span with the ID `span` recorded that it follows from the span with the ID `follows`. Note: it's unclear to me why we'd nee
tracing-subscriber/src/layer/mod.rs:900
Method
on_follows_from
(&self, span: &span::Id, follows: &span::Id, ctx: Context<'_, S>)
tracing-subscriber/src/layer/mod.rs:1621
Method
on_follows_from
(&self, span: &span::Id, follows: &span::Id, cx: Context<'_, S>)
tracing-subscriber/src/filter/layer_filters/mod.rs:813
Method
on_id_change
(&self, _old: &Id, _new: &Id, _ctx: Context<'_, C>)
tracing-mock/src/layer.rs:1079
Method
on_id_change
(&self, old: &span::Id, new: &span::Id, ctx: layer::Context<'_, S>)
tracing-subscriber/src/reload.rs:178
Method
on_id_change
Notifies this layer that a span ID has been cloned, and that the subscriber returned a different ID.
tracing-subscriber/src/layer/mod.rs:941
← previous
next →
1,801–1,900 of 2,480, ranked by callers