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
on_id_change
(&self, old: &span::Id, new: &span::Id, ctx: Context<'_, S>)
tracing-subscriber/src/layer/mod.rs:1664
Method
on_id_change
XXX(eliza): the existence of this method still makes me sad...
tracing-subscriber/src/filter/layer_filters/mod.rs:865
Method
on_layer
(&mut self, subscriber: &mut S)
tracing-subscriber/src/reload.rs:123
Method
on_layer
Performs late initialization when attaching a `Layer` to a [`Subscriber`]. This is a callback that is called when the `Layer` is added to a [`Subscri
tracing-subscriber/src/layer/mod.rs:785
Method
on_layer
(&mut self, subscriber: &mut S)
tracing-subscriber/src/layer/layered.rs:255
Method
on_layer
(&mut self, subscriber: &mut S)
tracing-subscriber/src/filter/layer_filters/mod.rs:728
Method
on_new_span
Notifies this layer that a new span was constructed with the given `Attributes` and `Id`.
tracing-error/src/layer.rs:43
Method
on_new_span
(&self, span: &Attributes<'_>, id: &Id, cx: Context<'_, C>)
tracing-mock/src/layer.rs:971
Method
on_new_span
(&self, attrs: &Attributes<'_>, id: &Id, ctx: Context<'_, S>)
tracing-journald/src/lib.rs:304
Method
on_new_span
(&self, attrs: &span::Attributes<'_>, id: &span::Id, ctx: layer::Context<'_, S>)
tracing-subscriber/src/reload.rs:138
Method
on_new_span
(&self, _: &Attributes<'_>, id: &Id, ctx: Context<'_, S>)
tracing-subscriber/src/registry/sharded.rs:604
Method
on_new_span
Notifies this layer that a new span was constructed with the given `Attributes` and `Id`.
tracing-subscriber/src/layer/mod.rs:876
Method
on_new_span
(&self, attrs: &span::Attributes<'_>, id: &span::Id, ctx: Context<'_, S>)
tracing-subscriber/src/layer/mod.rs:1579
Method
on_new_span
Informs the filter that a new span was created. This is equivalent to calling the [`Layer::on_new_span`] or [`Filter::on_new_span`] methods on `EnvFi
tracing-subscriber/src/filter/env/mod.rs:568
Method
on_new_span
(&self, attrs: &span::Attributes<'_>, id: &span::Id, ctx: Context<'_, S>)
tracing-subscriber/src/filter/layer_filters/mod.rs:575
Method
on_new_span
(&self, attrs: &Attributes<'_>, id: &Id, ctx: Context<'_, S>)
tracing-subscriber/src/filter/layer_filters/combinator.rs:146
Method
on_new_span
(&self, attrs: &Attributes<'_>, id: &Id, ctx: Context<'_, S>)
tracing-subscriber/src/fmt/fmt_layer.rs:874
Method
on_new_span
( &self, _attrs: &span::Attributes<'_>, _id: &span::Id, _ctx:
tracing-subscriber/tests/registry_span_instrument_drop.rs:120
Method
on_record
(&self, _: &Id, _: &Record<'_>, _: Context<'_, C>)
tracing-mock/src/layer.rs:933
Method
on_record
(&self, id: &Id, values: &Record<'_>, ctx: Context<'_, S>)
tracing-journald/src/lib.rs:320
Method
on_record
(&self, span: &span::Id, values: &span::Record<'_>, ctx: layer::Context<'_, S>)
tracing-subscriber/src/reload.rs:143
Method
on_record
Notifies this layer that a span with the given `Id` recorded the given `values`. Note: it's unclear to me why we'd need the current span in `record` (
tracing-subscriber/src/layer/mod.rs:893
Method
on_record
(&self, span: &span::Id, values: &span::Record<'_>, ctx: Context<'_, S>)
tracing-subscriber/src/layer/mod.rs:1614
Method
on_record
Informs the filter that the span with the provided `id` recorded the provided field `values`. This is equivalent to calling the [`Layer::on_record`]
tracing-subscriber/src/filter/env/mod.rs:634
Method
on_record
(&self, id: &span::Id, values: &span::Record<'_>, ctx: Context<'_, S>)
tracing-subscriber/src/filter/layer_filters/mod.rs:582
Method
on_record
(&self, id: &Id, values: &Record<'_>, ctx: Context<'_, S>)
tracing-subscriber/src/filter/layer_filters/combinator.rs:152
Method
on_record
(&self, id: &Id, values: &Record<'_>, ctx: Context<'_, S>)
tracing-subscriber/src/fmt/fmt_layer.rs:912
Method
on_register_dispatch
Adds an expectation that [`Subscriber::on_register_dispatch`] will be called next. Note**: This expectation is usually fulfilled automatically when a
tracing-mock/src/subscriber.rs:883
Method
on_register_dispatch
(&self, subscriber: &Dispatch)
tracing-subscriber/src/reload.rs:119
Method
on_register_dispatch
Performs late initialization when installing this layer as a [`Subscriber`]. ## Avoiding Memory Leaks `Layer`s should not store the [`Dispatch`] poi
tracing-subscriber/src/layer/mod.rs:754
Method
on_register_dispatch
(&self, subscriber: &Dispatch)
tracing-subscriber/src/layer/mod.rs:1572
Method
on_register_dispatch
(&self, subscriber: &Dispatch)
tracing-subscriber/src/layer/layered.rs:94
Method
on_register_dispatch
(&self, subscriber: &Dispatch)
tracing-subscriber/src/filter/layer_filters/mod.rs:724
Function
on_register_dispatch_is_called
()
tracing-subscriber/tests/vec.rs:22
Function
on_register_dispatch_is_called
()
tracing-subscriber/tests/option.rs:265
Function
on_register_dispatch_is_called
()
tracing-subscriber/tests/on_register_dispatch_is_called.rs:9
Function
one_with_everything
()
tracing/tests/event.rs:135
Method
only
Expects that no further traces are received. The call to `only` should appear immediately before the final call to `run` or `run_with_handle`, as any
tracing-mock/src/subscriber.rs:1010
Method
only
Expects that no further traces are received. The call to `only` should appear immediately before the final call to [`run`] or [`run_with_handle`], as
tracing-mock/src/layer.rs:778
Function
opaque_unsatisfied
()
tracing-attributes/tests/ui/fail/async_instrument.rs:14
Function
option_mixed
()
tracing-subscriber/tests/layer_filters/option.rs:48
Function
option_none
()
tracing-subscriber/tests/layer_filters/option.rs:30
Function
option_ref_mut_values
()
tracing/tests/event.rs:452
Function
option_ref_values
()
tracing/tests/event.rs:416
Function
option_some
()
tracing-subscriber/tests/layer_filters/option.rs:16
Function
option_values
()
tracing/tests/event.rs:380
Method
or
Combines two [`Filter`]s so that spans and events are enabled if *either* filter returns `true`. # Examples Enabling spans and events at the `INFO`
tracing-subscriber/src/filter/layer_filters/mod.rs:306
Function
out_of_order
()
tracing-subscriber/tests/hinted_layer_filters_dont_break_other_layers.rs:54
Function
out_of_order
()
tracing-subscriber/tests/cached_layer_filters_dont_break_other_layers.rs:52
Function
out_of_order
()
tracing-subscriber/tests/unhinted_layer_filters_dont_break_other_layers.rs:52
Function
out_of_scope_fields
()
tracing-attributes/tests/async_fn.rs:388
Function
overridden_parents
()
tracing-subscriber/src/fmt/format/mod.rs:2103
Function
overridden_parents_in_scope
()
tracing-subscriber/src/fmt/format/mod.rs:2109
Function
override_everything
()
tracing-attributes/tests/instrument.rs:17
Function
parameters_with_fields
()
tracing-attributes/tests/fields.rs:154
Method
parent
Returns the new event's explicitly-specified parent, if there is one. Otherwise (if the new event is a root or is a child of the current span), retur
tracing-core/src/event.rs:122
Method
parent_span
Returns [stored data] for the parent span of the event currently being formatted. If the event has a contextual parent, this will return the current
tracing-subscriber/src/fmt/fmt_layer.rs:1197
Method
parse
(input: ParseStream<'_>)
tracing-attributes/src/attr.rs:77
Function
parse_directives_empty_level
()
tracing-subscriber/src/filter/env/directive.rs:779
Function
parse_directives_global
()
tracing-subscriber/src/filter/env/directive.rs:789
Function
parse_directives_global_bare_warn_lc
()
tracing-subscriber/src/filter/env/directive.rs:818
Function
parse_directives_global_bare_warn_mixed
()
tracing-subscriber/src/filter/env/directive.rs:830
Function
parse_directives_global_bare_warn_uc
()
tracing-subscriber/src/filter/env/directive.rs:824
Function
parse_directives_invalid_crate
()
tracing-subscriber/src/filter/env/directive.rs:749
Function
parse_directives_invalid_level
()
tracing-subscriber/src/filter/env/directive.rs:759
Function
parse_directives_ralith
()
tracing-subscriber/src/filter/env/directive.rs:592
Function
parse_directives_ralith_mixed
()
tracing-subscriber/src/filter/env/directive.rs:618
Function
parse_directives_ralith_uc
()
tracing-subscriber/src/filter/env/directive.rs:605
Function
parse_directives_string_level
()
tracing-subscriber/src/filter/env/directive.rs:769
Function
parse_directives_valid
()
tracing-subscriber/src/filter/env/directive.rs:631
Function
parse_directives_valid_with_spans
()
tracing-subscriber/src/filter/env/directive.rs:836
Function
parse_directives_with_dash_in_span_name
()
tracing-subscriber/src/filter/env/directive.rs:862
Function
parse_directives_with_dash_in_target_name
()
tracing-subscriber/src/filter/env/directive.rs:853
Function
parse_directives_with_invalid_span_chars
()
tracing-subscriber/src/filter/env/directive.rs:884
Function
parse_directives_with_special_characters_in_span_name
()
tracing-subscriber/src/filter/env/directive.rs:873
Function
parse_empty_string
()
tracing-subscriber/src/filter/env/mod.rs:1022
Function
parse_empty_string_no_default_directive
()
tracing-subscriber/tests/env_filter/main.rs:245
Function
parse_empty_string_with_default_directive
()
tracing-subscriber/tests/env_filter/main.rs:262
Method
parse_from_ty
Parse `RecordType` from [Type] by looking up the [RecordType::TYPES_FOR_VALUE] array.
tracing-attributes/src/expand.rs:480
Function
parse_invalid_string
()
tracing-subscriber/tests/env_filter/main.rs:240
Function
parse_level_directives
()
tracing-subscriber/src/filter/targets.rs:698
Function
parse_level_directives
()
tracing-subscriber/src/filter/env/directive.rs:653
Method
parse_non_regex
Parse a `ValueMatch` that will match `fmt::Debug` against a fixed string. This does *not* return an error, because any string that isn't a valid `boo
tracing-subscriber/src/filter/env/field.rs:260
Function
parse_numeric_level_directives
()
tracing-subscriber/src/filter/targets.rs:714
Function
parse_numeric_level_directives
()
tracing-subscriber/src/filter/env/directive.rs:717
Function
parse_ralith
()
tracing-subscriber/src/filter/targets.rs:660
Function
parse_ralith_mixed
()
tracing-subscriber/src/filter/targets.rs:670
Function
parse_ralith_uc
()
tracing-subscriber/src/filter/targets.rs:665
Method
parse_regex
(s: &str)
tracing-subscriber/src/filter/env/field.rs:242
Function
parse_uppercase_level_directives
()
tracing-subscriber/src/filter/targets.rs:706
Function
parse_uppercase_level_directives
()
tracing-subscriber/src/filter/env/directive.rs:685
Method
partial_cmp
(&self, other: &Level)
tracing-core/src/metadata.rs:920
Method
partial_cmp
(&self, other: &Self)
tracing-subscriber/src/filter/directive.rs:240
Method
partial_cmp
(&self, other: &Directive)
tracing-subscriber/src/filter/env/directive.rs:295
Function
pass
()
tracing-attributes/tests/ui.rs:5
Function
per_layer_event_field_filtering
()
tracing-subscriber/tests/layer_filters/per_event.rs:43
Function
plf_only_picks_max
()
tracing-subscriber/src/layer/tests.rs:275
Function
plf_only_unhinted
()
tracing-subscriber/src/layer/tests.rs:203
Function
plf_only_unhinted_nested_inner
()
tracing-subscriber/src/layer/tests.rs:229
Function
plf_only_unhinted_nested_outer
()
tracing-subscriber/src/layer/tests.rs:211
← previous
next →
1,901–2,000 of 2,480, ranked by callers