MCPcopy Create free account

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

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

Methodon_id_change
(&self, old: &span::Id, new: &span::Id, ctx: Context<'_, S>)
tracing-subscriber/src/layer/mod.rs:1664
Methodon_id_change
XXX(eliza): the existence of this method still makes me sad...
tracing-subscriber/src/filter/layer_filters/mod.rs:865
Methodon_layer
(&mut self, subscriber: &mut S)
tracing-subscriber/src/reload.rs:123
Methodon_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
Methodon_layer
(&mut self, subscriber: &mut S)
tracing-subscriber/src/layer/layered.rs:255
Methodon_layer
(&mut self, subscriber: &mut S)
tracing-subscriber/src/filter/layer_filters/mod.rs:728
Methodon_new_span
Notifies this layer that a new span was constructed with the given `Attributes` and `Id`.
tracing-error/src/layer.rs:43
Methodon_new_span
(&self, span: &Attributes<'_>, id: &Id, cx: Context<'_, C>)
tracing-mock/src/layer.rs:971
Methodon_new_span
(&self, attrs: &Attributes<'_>, id: &Id, ctx: Context<'_, S>)
tracing-journald/src/lib.rs:304
Methodon_new_span
(&self, attrs: &span::Attributes<'_>, id: &span::Id, ctx: layer::Context<'_, S>)
tracing-subscriber/src/reload.rs:138
Methodon_new_span
(&self, _: &Attributes<'_>, id: &Id, ctx: Context<'_, S>)
tracing-subscriber/src/registry/sharded.rs:604
Methodon_new_span
Notifies this layer that a new span was constructed with the given `Attributes` and `Id`.
tracing-subscriber/src/layer/mod.rs:876
Methodon_new_span
(&self, attrs: &span::Attributes<'_>, id: &span::Id, ctx: Context<'_, S>)
tracing-subscriber/src/layer/mod.rs:1579
Methodon_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
Methodon_new_span
(&self, attrs: &span::Attributes<'_>, id: &span::Id, ctx: Context<'_, S>)
tracing-subscriber/src/filter/layer_filters/mod.rs:575
Methodon_new_span
(&self, attrs: &Attributes<'_>, id: &Id, ctx: Context<'_, S>)
tracing-subscriber/src/filter/layer_filters/combinator.rs:146
Methodon_new_span
(&self, attrs: &Attributes<'_>, id: &Id, ctx: Context<'_, S>)
tracing-subscriber/src/fmt/fmt_layer.rs:874
Methodon_new_span
( &self, _attrs: &span::Attributes<'_>, _id: &span::Id, _ctx:
tracing-subscriber/tests/registry_span_instrument_drop.rs:120
Methodon_record
(&self, _: &Id, _: &Record<'_>, _: Context<'_, C>)
tracing-mock/src/layer.rs:933
Methodon_record
(&self, id: &Id, values: &Record<'_>, ctx: Context<'_, S>)
tracing-journald/src/lib.rs:320
Methodon_record
(&self, span: &span::Id, values: &span::Record<'_>, ctx: layer::Context<'_, S>)
tracing-subscriber/src/reload.rs:143
Methodon_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
Methodon_record
(&self, span: &span::Id, values: &span::Record<'_>, ctx: Context<'_, S>)
tracing-subscriber/src/layer/mod.rs:1614
Methodon_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
Methodon_record
(&self, id: &span::Id, values: &span::Record<'_>, ctx: Context<'_, S>)
tracing-subscriber/src/filter/layer_filters/mod.rs:582
Methodon_record
(&self, id: &Id, values: &Record<'_>, ctx: Context<'_, S>)
tracing-subscriber/src/filter/layer_filters/combinator.rs:152
Methodon_record
(&self, id: &Id, values: &Record<'_>, ctx: Context<'_, S>)
tracing-subscriber/src/fmt/fmt_layer.rs:912
Methodon_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
Methodon_register_dispatch
(&self, subscriber: &Dispatch)
tracing-subscriber/src/reload.rs:119
Methodon_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
Methodon_register_dispatch
(&self, subscriber: &Dispatch)
tracing-subscriber/src/layer/mod.rs:1572
Methodon_register_dispatch
(&self, subscriber: &Dispatch)
tracing-subscriber/src/layer/layered.rs:94
Methodon_register_dispatch
(&self, subscriber: &Dispatch)
tracing-subscriber/src/filter/layer_filters/mod.rs:724
Functionon_register_dispatch_is_called
()
tracing-subscriber/tests/vec.rs:22
Functionon_register_dispatch_is_called
()
tracing-subscriber/tests/option.rs:265
Functionon_register_dispatch_is_called
()
tracing-subscriber/tests/on_register_dispatch_is_called.rs:9
Functionone_with_everything
()
tracing/tests/event.rs:135
Methodonly
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
Methodonly
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
Functionopaque_unsatisfied
()
tracing-attributes/tests/ui/fail/async_instrument.rs:14
Functionoption_mixed
()
tracing-subscriber/tests/layer_filters/option.rs:48
Functionoption_none
()
tracing-subscriber/tests/layer_filters/option.rs:30
Functionoption_ref_mut_values
()
tracing/tests/event.rs:452
Functionoption_ref_values
()
tracing/tests/event.rs:416
Functionoption_some
()
tracing-subscriber/tests/layer_filters/option.rs:16
Functionoption_values
()
tracing/tests/event.rs:380
Methodor
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
Functionout_of_order
()
tracing-subscriber/tests/hinted_layer_filters_dont_break_other_layers.rs:54
Functionout_of_order
()
tracing-subscriber/tests/cached_layer_filters_dont_break_other_layers.rs:52
Functionout_of_order
()
tracing-subscriber/tests/unhinted_layer_filters_dont_break_other_layers.rs:52
Functionout_of_scope_fields
()
tracing-attributes/tests/async_fn.rs:388
Functionoverridden_parents
()
tracing-subscriber/src/fmt/format/mod.rs:2103
Functionoverridden_parents_in_scope
()
tracing-subscriber/src/fmt/format/mod.rs:2109
Functionoverride_everything
()
tracing-attributes/tests/instrument.rs:17
Functionparameters_with_fields
()
tracing-attributes/tests/fields.rs:154
Methodparent
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
Methodparent_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
Methodparse
(input: ParseStream<'_>)
tracing-attributes/src/attr.rs:77
Functionparse_directives_empty_level
()
tracing-subscriber/src/filter/env/directive.rs:779
Functionparse_directives_global
()
tracing-subscriber/src/filter/env/directive.rs:789
Functionparse_directives_global_bare_warn_lc
()
tracing-subscriber/src/filter/env/directive.rs:818
Functionparse_directives_global_bare_warn_mixed
()
tracing-subscriber/src/filter/env/directive.rs:830
Functionparse_directives_global_bare_warn_uc
()
tracing-subscriber/src/filter/env/directive.rs:824
Functionparse_directives_invalid_crate
()
tracing-subscriber/src/filter/env/directive.rs:749
Functionparse_directives_invalid_level
()
tracing-subscriber/src/filter/env/directive.rs:759
Functionparse_directives_ralith
()
tracing-subscriber/src/filter/env/directive.rs:592
Functionparse_directives_ralith_mixed
()
tracing-subscriber/src/filter/env/directive.rs:618
Functionparse_directives_ralith_uc
()
tracing-subscriber/src/filter/env/directive.rs:605
Functionparse_directives_string_level
()
tracing-subscriber/src/filter/env/directive.rs:769
Functionparse_directives_valid
()
tracing-subscriber/src/filter/env/directive.rs:631
Functionparse_directives_valid_with_spans
()
tracing-subscriber/src/filter/env/directive.rs:836
Functionparse_directives_with_dash_in_span_name
()
tracing-subscriber/src/filter/env/directive.rs:862
Functionparse_directives_with_dash_in_target_name
()
tracing-subscriber/src/filter/env/directive.rs:853
Functionparse_directives_with_invalid_span_chars
()
tracing-subscriber/src/filter/env/directive.rs:884
Functionparse_directives_with_special_characters_in_span_name
()
tracing-subscriber/src/filter/env/directive.rs:873
Functionparse_empty_string
()
tracing-subscriber/src/filter/env/mod.rs:1022
Functionparse_empty_string_no_default_directive
()
tracing-subscriber/tests/env_filter/main.rs:245
Functionparse_empty_string_with_default_directive
()
tracing-subscriber/tests/env_filter/main.rs:262
Methodparse_from_ty
Parse `RecordType` from [Type] by looking up the [RecordType::TYPES_FOR_VALUE] array.
tracing-attributes/src/expand.rs:480
Functionparse_invalid_string
()
tracing-subscriber/tests/env_filter/main.rs:240
Functionparse_level_directives
()
tracing-subscriber/src/filter/targets.rs:698
Functionparse_level_directives
()
tracing-subscriber/src/filter/env/directive.rs:653
Methodparse_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
Functionparse_numeric_level_directives
()
tracing-subscriber/src/filter/targets.rs:714
Functionparse_numeric_level_directives
()
tracing-subscriber/src/filter/env/directive.rs:717
Functionparse_ralith
()
tracing-subscriber/src/filter/targets.rs:660
Functionparse_ralith_mixed
()
tracing-subscriber/src/filter/targets.rs:670
Functionparse_ralith_uc
()
tracing-subscriber/src/filter/targets.rs:665
Methodparse_regex
(s: &str)
tracing-subscriber/src/filter/env/field.rs:242
Functionparse_uppercase_level_directives
()
tracing-subscriber/src/filter/targets.rs:706
Functionparse_uppercase_level_directives
()
tracing-subscriber/src/filter/env/directive.rs:685
Methodpartial_cmp
(&self, other: &Level)
tracing-core/src/metadata.rs:920
Methodpartial_cmp
(&self, other: &Self)
tracing-subscriber/src/filter/directive.rs:240
Methodpartial_cmp
(&self, other: &Directive)
tracing-subscriber/src/filter/env/directive.rs:295
Functionpass
()
tracing-attributes/tests/ui.rs:5
Functionper_layer_event_field_filtering
()
tracing-subscriber/tests/layer_filters/per_event.rs:43
Functionplf_only_picks_max
()
tracing-subscriber/src/layer/tests.rs:275
Functionplf_only_unhinted
()
tracing-subscriber/src/layer/tests.rs:203
Functionplf_only_unhinted_nested_inner
()
tracing-subscriber/src/layer/tests.rs:229
Functionplf_only_unhinted_nested_outer
()
tracing-subscriber/src/layer/tests.rs:211
← previousnext →1,901–2,000 of 2,480, ranked by callers