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
event
(&self, event: &Event<'_>)
tracing-subscriber/benches/filter_log.rs:18
Method
event
This is intentionally not implemented, as recording events is the responsibility of layers atop of this registry.
tracing-subscriber/src/registry/sharded.rs:288
Method
event
(&self, event: &Event<'_>)
tracing-subscriber/src/layer/layered.rs:156
Method
event
(&self, _: &Event<'_>)
tracing-subscriber/src/layer/tests.rs:40
Method
event
(&self, event: &Event<'_>)
tracing-subscriber/src/layer/context.rs:106
Method
event
(&self, _event: &Event<'_>)
tracing-subscriber/src/filter/env/mod.rs:869
Method
event
(&self, event: &Event<'_>)
tracing-subscriber/src/fmt/mod.rs:410
Method
event
(&self, event: &Event<'_>)
tracing-subscriber/tests/registry_span_instrument_drop.rs:98
Function
event_before_register
()
tracing-core/tests/missed_register_callsite.rs:113
Function
event_before_register
()
tracing/tests/missed_register_callsite.rs:97
Function
event_disabled_does_disable_event
()
tracing-subscriber/tests/event_enabling.rs:67
Method
event_enabled
Determine if an [`Event`] should be recorded. By default, this returns `true` and `Subscriber`s can filter events in [`event`][Self::event] without a
tracing-core/src/subscriber.rs:323
Method
event_enabled
(&self, event: &Event<'_>, ctx: layer::Context<'_, S>)
tracing-subscriber/src/reload.rs:153
Method
event_enabled
(&self, _event: &Event<'_>)
tracing-subscriber/src/registry/sharded.rs:279
Method
event_enabled
collapse this to a constant please mrs optimizer
tracing-subscriber/src/layer/mod.rs:923
Method
event_enabled
(&self, event: &Event<'_>, ctx: Context<'_, S>)
tracing-subscriber/src/layer/mod.rs:1628
Method
event_enabled
(&self, event: &Event<'_>)
tracing-subscriber/src/layer/layered.rs:146
Method
event_enabled
(&self, event: &Event<'_>, ctx: &Context<'_, S>)
tracing-subscriber/src/filter/layer_filters/mod.rs:568
Method
event_enabled
(&self, event: &tracing_core::Event<'_>, cx: &Context<'_, S>)
tracing-subscriber/src/filter/layer_filters/combinator.rs:141
Method
event_enabled
(&self, event: &Event<'_>)
tracing-subscriber/src/fmt/mod.rs:405
Method
event_enabled
(&self, event: &Event<'_>)
tracing-subscriber/tests/registry_span_instrument_drop.rs:53
Method
event_enabled
(&self, _event: &Event<'_>, _ctx: Context<'_, C>)
tracing-subscriber/tests/event_enabling.rs:22
Method
event_enabled
( &self, event: &tracing::Event<'_>, _cx: &tracing_subscriber::layer::Context<'_, S>,
tracing-subscriber/tests/layer_filters/per_event.rs:16
Function
event_enabled_is_only_called_once
()
tracing-subscriber/tests/event_enabling.rs:33
Function
event_enabled_not_called_when_not_enabled
()
tracing-subscriber/tests/event_enabling.rs:50
Function
event_macros_dont_infinite_loop
()
tracing/tests/subscriber.rs:18
Function
event_outside_of_span
()
tracing/tests/span.rs:185
Function
event_root
()
tracing/tests/macros.rs:937
Function
event_with_message
()
tracing/tests/event.rs:58
Function
event_with_parent
()
tracing/tests/macros.rs:1163
Function
events_dont_infinite_loop
()
tracing-core/src/dispatcher.rs:947
Function
events_dont_leak
()
tracing/tests/filters_dont_leak.rs:48
Method
execute
(&self, future: F)
tracing-futures/src/executor/futures_01.rs:12
Method
executor
Return an instrumented handle to the runtime's executor. The returned handle can be used to spawn tasks that run on this runtime. The instrumented h
tracing-futures/src/executor/futures_01.rs:127
Method
exists
(&self, id: &span::Id)
tracing-subscriber/src/layer/context.rs:234
Method
exists
(&self, id: &Id)
tracing-subscriber/src/fmt/fmt_layer.rs:1163
Method
exit
Records that a span has been exited. This calls the [`exit`] function on the [`Subscriber`] that this `Dispatch` forwards to. [`Subscriber`]: super:
tracing-core/src/dispatcher.rs:632
Method
exit
(&self, _span: &span::Id)
tracing-core/src/subscriber.rs:696
Method
exit
(&self, _span: &tracing_core::span::Id)
tracing-core/tests/missed_register_callsite.rs:63
Method
exit
(&self, _: &span::Id)
tracing-core/tests/common/mod.rs:15
Method
exit
Adds ab expectation that exiting a span matching the [`ExpectedSpan`] will be recorded next. As a span may be entered and exited multiple times, this
tracing-mock/src/subscriber.rs:577
Method
exit
(&self, _span: &Id)
examples/examples/counters.rs:102
Method
exit
(&self, span: &Id)
examples/examples/serde-yak-shave.rs:75
Method
exit
(&self)
examples/examples/sloggish/sloggish_subscriber.rs:59
Method
exit
(&self, _span: &span::Id)
tracing-log/tests/log_tracer.rs:58
Method
exit
(&self, span: &Id)
tracing/benches/shared.rs:122
Method
exit
(&self, _: &tracing::span::Id)
tracing/test-log-support/tests/log_with_trace.rs:19
Method
exit
(&self, _span: &tracing_core::span::Id)
tracing/tests/missed_register_callsite.rs:76
Method
exit
(&self, _: &span::Id)
tracing/tests/register_callsite_deadlock.rs:29
Method
exit
(&self, _span: &Id)
tracing/test_static_max_level_features/tests/test.rs:42
Method
exit
(&self, span: &Id)
tracing-subscriber/benches/filter.rs:39
Method
exit
(&self, span: &Id)
tracing-subscriber/benches/filter_log.rs:39
Method
exit
(&self, id: &span::Id)
tracing-subscriber/src/registry/sharded.rs:297
Method
exit
(&self, span: &span::Id)
tracing-subscriber/src/layer/layered.rs:166
Method
exit
(&self, _: &span::Id)
tracing-subscriber/src/layer/tests.rs:42
Method
exit
(&self, _span: &span::Id)
tracing-subscriber/src/filter/env/mod.rs:878
Method
exit
(&self, id: &span::Id)
tracing-subscriber/src/fmt/mod.rs:421
Method
exit
(&self, span: &span::Id)
tracing-subscriber/tests/registry_span_instrument_drop.rs:107
Function
expect_contextual_parent_actual_contextual_root
()
tracing-mock/tests/event_ancestry.rs:96
Function
expect_contextual_parent_actual_contextual_root
()
tracing-mock/tests/span_ancestry.rs:106
Function
expect_contextual_parent_actual_explicit_parent
()
tracing-mock/tests/event_ancestry.rs:111
Function
expect_contextual_parent_actual_explicit_parent
()
tracing-mock/tests/span_ancestry.rs:123
Function
expect_contextual_parent_actual_explicit_root
()
tracing-mock/tests/event_ancestry.rs:127
Function
expect_contextual_parent_actual_explicit_root
()
tracing-mock/tests/span_ancestry.rs:144
Function
expect_contextual_root_actual_contextual_parent
()
tracing-mock/tests/event_ancestry.rs:158
Function
expect_contextual_root_actual_contextual_parent
()
tracing-mock/tests/span_ancestry.rs:179
Function
expect_contextual_root_actual_explicit_parent
()
tracing-mock/tests/event_ancestry.rs:176
Function
expect_contextual_root_actual_explicit_parent
()
tracing-mock/tests/span_ancestry.rs:199
Function
expect_contextual_root_actual_explicit_root
()
tracing-mock/tests/event_ancestry.rs:191
Function
expect_contextual_root_actual_explicit_root
()
tracing-mock/tests/span_ancestry.rs:219
Function
expect_explicit_parent_actual_contextual_parent
()
tracing-mock/tests/event_ancestry.rs:281
Function
expect_explicit_parent_actual_contextual_parent
()
tracing-mock/tests/span_ancestry.rs:328
Function
expect_explicit_parent_actual_contextual_root
()
tracing-mock/tests/event_ancestry.rs:300
Function
expect_explicit_parent_actual_contextual_root
()
tracing-mock/tests/span_ancestry.rs:349
Function
expect_explicit_parent_actual_explicit_root
()
tracing-mock/tests/event_ancestry.rs:315
Function
expect_explicit_parent_actual_explicit_root
()
tracing-mock/tests/span_ancestry.rs:366
Function
expect_explicit_root_actual_contextual_parent
()
tracing-mock/tests/event_ancestry.rs:350
Function
expect_explicit_root_actual_contextual_parent
()
tracing-mock/tests/span_ancestry.rs:406
Function
expect_explicit_root_actual_contextual_root
()
tracing-mock/tests/event_ancestry.rs:368
Function
expect_explicit_root_actual_contextual_root
()
tracing-mock/tests/span_ancestry.rs:426
Function
expect_explicit_root_actual_explicit_parent
()
tracing-mock/tests/event_ancestry.rs:382
Function
expect_explicit_root_actual_explicit_parent
()
tracing-mock/tests/span_ancestry.rs:442
Function
expect_parse_valid
()
tracing-subscriber/src/filter/targets.rs:675
Function
explicit_and_contextual_root_is_explicit
()
tracing-mock/tests/event_ancestry.rs:396
Function
explicit_and_contextual_root_is_explicit
()
tracing-mock/tests/span_ancestry.rs:461
Function
explicit_child
()
tracing/tests/span.rs:839
Function
explicit_child
()
tracing/tests/event.rs:338
Function
explicit_child_at_levels
()
tracing/tests/span.rs:860
Function
explicit_child_at_levels
()
tracing/tests/event.rs:355
Function
explicit_child_regardless_of_ctx
()
tracing/tests/span.rs:905
Function
explicit_parent
()
tracing-mock/tests/event_ancestry.rs:208
Function
explicit_parent
()
tracing-mock/tests/span_ancestry.rs:238
Function
explicit_parent_test
()
tracing-attributes/tests/parents.rs:55
Function
explicit_parent_wrong_id
()
tracing-mock/tests/event_ancestry.rs:242
Function
explicit_parent_wrong_id
()
tracing-mock/tests/span_ancestry.rs:282
Function
explicit_parent_wrong_level
()
tracing-mock/tests/event_ancestry.rs:264
Function
explicit_parent_wrong_level
()
tracing-mock/tests/span_ancestry.rs:306
Function
explicit_parent_wrong_name
()
tracing-mock/tests/event_ancestry.rs:226
Function
explicit_parent_wrong_name
()
tracing-mock/tests/span_ancestry.rs:261
Function
explicit_root
()
tracing-mock/tests/event_ancestry.rs:332
← previous
next →
1,201–1,300 of 2,480, ranked by callers