MCPcopy Create free account

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

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

Functionborrow_val_spans
()
tracing/tests/macros.rs:1389
Functionborrowed_field
()
tracing/tests/span.rs:391
Functionborrowed_field
()
tracing/tests/event.rs:213
Functionboth_shorthands
()
tracing/tests/span.rs:1013
Functionboth_shorthands
()
tracing/tests/event.rs:317
Functionbox_layer_is_layer
()
tracing-subscriber/src/layer/tests.rs:80
Functionbox_works
()
tracing-subscriber/tests/layer_filters/boxed.rs:17
Methodboxed
[Boxes] `self`, erasing its concrete type. This is equivalent to calling [`Box::new`], but in method form, so that it can be used when chaining combi
tracing-subscriber/src/filter/layer_filters/mod.rs:450
Functionboxed_subscriber
()
tracing/tests/subscriber.rs:60
Methodbuilder
()
tracing-appender/src/rolling.rs:185
Methodbuilder
Returns a builder that allows customizing a `LogTracer` and setting it the default logger. For example: ```rust # use std::error::Error; use tracing_
tracing-log/src/log_tracer.rs:69
Methodbuilder
Returns a [builder] that can be used to configure a new [`EnvFilter`] instance. The [`Builder`] type is used to set additional configurations, such a
tracing-subscriber/src/filter/env/mod.rs:262
Methodbuilder
Returns a new `SubscriberBuilder` for configuring a format subscriber.
tracing-subscriber/src/fmt/mod.rs:352
Functionbuilders_are_init_ext
()
tracing-subscriber/tests/utils.rs:24
Methodcall
(&mut self, target: T)
tracing-tower/src/service_span.rs:165
Methodcall
(&mut self, target: T)
tracing-tower/src/request_span.rs:169
Methodcall
(&mut self, req: Request<Body>)
examples/examples/tower-server.rs:39
Methodcall_once
Performs an initialization routine once and only once. The given closure will be executed if this is the first time `call_once` has been called, and o
tracing-core/src/spin/once.rs:70
Methodcallsite_enabled
(&self, metadata: &'static Metadata<'static>)
tracing-subscriber/src/reload.rs:217
Methodcallsite_enabled
(&self, metadata: &'static Metadata<'static>)
tracing-subscriber/src/filter/targets.rs:462
Methodcallsite_enabled
(&self, meta: &'static Metadata<'static>)
tracing-subscriber/src/filter/layer_filters/combinator.rs:120
Functioncallsite_enabled_includes_span_directive
()
tracing-subscriber/src/filter/env/mod.rs:926
Functioncallsite_enabled_includes_span_directive_field
()
tracing-subscriber/src/filter/env/mod.rs:944
Functioncallsite_enabled_includes_span_directive_multiple_fields
()
tracing-subscriber/src/filter/env/mod.rs:963
Functioncallsite_enabled_no_span_directive
()
tracing-subscriber/src/filter/env/mod.rs:890
Functioncallsite_macro_api
()
tracing/tests/macros.rs:1403
Functioncallsite_off
()
tracing-subscriber/src/filter/env/mod.rs:908
Functioncan_initialize_log_tracer_with_level
()
tracing-log/tests/reexport_log_crate.rs:8
Methodcapture
Capture the current span trace. # Examples ```rust use tracing_error::SpanTrace; pub struct MyError { span_trace: SpanTrace, // ... } # fn some_err
tracing-error/src/backtrace.rs:102
Functioncapture_empty
()
tracing-error/src/backtrace.rs:292
Functioncapture_supported
()
tracing-flame/tests/concurrent.rs:8
Functioncapture_supported
()
tracing-flame/tests/collapsed.rs:8
Functioncapture_supported
()
tracing-error/src/backtrace.rs:276
Functioncapture_unsupported
()
tracing-error/src/backtrace.rs:305
Methodcares_about
(&self, meta: &Metadata<'_>)
tracing-subscriber/src/filter/env/directive.rs:242
Methodcheck
( &self, actual_ancestry: &ActualAncestry, ctx: impl std::fmt::Display, collec
tracing-mock/src/ancestry.rs:43
Methodcheck
Checks the given metadata against this expected metadata and panics if there is a mismatch. The context `ctx` should fit into the followint sentence:
tracing-mock/src/metadata.rs:30
Methodcheck
( &mut self, event: &tracing::Event<'_>, get_ancestry: impl FnOnce() -> ActualAncestry
tracing-mock/src/event.rs:534
Functionchild_closes_grandparent
()
tracing-subscriber/src/registry/sharded.rs:878
Functionchild_closes_parent
()
tracing-subscriber/src/registry/sharded.rs:850
Methodchild_of
Returns `Attributes` describing a new child span of the specified parent span, with the provided metadata and values.
tracing-core/src/span.rs:130
Methodchild_of
Constructs a new `Event` with the specified metadata and set of values, and observes it with the current subscriber and an explicit parent.
tracing-core/src/event.rs:71
Methodchild_of
Constructs a new `Span` as child of the given parent span, with the given [metadata] and set of [field values]. After the span is constructed, [field
tracing/src/span.rs:485
Methodchild_of_with
( parent: impl Into<Option<Id>>, meta: &'static Metadata<'static>, values: &field::Val
tracing/src/span.rs:498
Functionclashy_const_field_name
()
tracing-attributes/tests/fields.rs:225
Functionclashy_expr_field
()
tracing-attributes/tests/fields.rs:122
Functionclear_drops_elements
()
tracing-subscriber/src/registry/extensions.rs:247
Methodclear_enabled
Clears the current in-progress filter state. This resets the [`FilterMap`] and current [`Interest`] as well as clearing the debug counters.
tracing-subscriber/src/filter/layer_filters/mod.rs:1220
Functionclear_retains_capacity
()
tracing-subscriber/src/registry/extensions.rs:224
Methodclone
(&self)
tracing-subscriber/src/filter/filter_fn.rs:684
Functionclone_and_drop_span_always_go_to_the_subscriber_that_tagged_the_span
()
tracing/tests/span.rs:236
Methodclone_current
Returns a clone of the layer or filter's current value if it still exists. Otherwise, if the subscriber has been dropped, returns `None`.
tracing-subscriber/src/reload.rs:335
Methodclone_span
Notifies the subscriber that a [span ID] has been cloned. This function is guaranteed to only be called with span IDs that were returned by this subs
tracing-core/src/subscriber.rs:390
Methodclone_span
(&self, id: &span::Id)
tracing-core/src/subscriber.rs:762
Methodclone_span
Adds an expectation that cloning a span matching the [`ExpectedSpan`] will be recorded next. The cloned span does need to be entered. If the span th
tracing-mock/src/subscriber.rs:635
Methodclone_span
(&self, old: &span::Id)
tracing-subscriber/src/layer/layered.rs:171
Methodclone_span
(&self, id: &span::Id)
tracing-subscriber/src/fmt/mod.rs:431
Methodclone_span
(&self, id: &span::Id)
tracing-subscriber/tests/registry_span_instrument_drop.rs:57
Functioncloning_a_span_calls_clone_span
()
tracing/tests/span.rs:203
Functioncmsg_buffer_size_for_one_fd
()
tracing-journald/src/socket.rs:32
Functioncombinators_and
()
tracing-subscriber/src/fmt/writer.rs:1456
Functioncombinators_level_filters
()
tracing-subscriber/src/fmt/writer.rs:1300
Functioncombinators_or_else
()
tracing-subscriber/src/fmt/writer.rs:1361
Functioncombinators_or_else_chain
()
tracing-subscriber/src/fmt/writer.rs:1402
Functioncompile_fail
()
tracing-attributes/tests/ui.rs:12
Functionconstant_field_name
()
tracing/tests/span.rs:1034
Functionconstant_field_name
()
tracing/tests/event.rs:516
Methodcontains
Returns `true` if `self` contains the given `field`. <div class="example-wrap" style="display:inline-block"> <pre class="ignore" style="white-space:n
tracing-core/src/field.rs:908
Functioncontext_event_span
()
tracing-subscriber/src/layer/tests.rs:122
Functioncontextual_child
()
tracing/tests/span.rs:949
Functioncontextual_parent
()
tracing-mock/tests/event_ancestry.rs:12
Functioncontextual_parent
()
tracing-mock/tests/span_ancestry.rs:13
Functioncontextual_parent_wrong_id
()
tracing-mock/tests/event_ancestry.rs:52
Functioncontextual_parent_wrong_id
()
tracing-mock/tests/span_ancestry.rs:57
Functioncontextual_parent_wrong_level
()
tracing-mock/tests/event_ancestry.rs:76
Functioncontextual_parent_wrong_level
()
tracing-mock/tests/span_ancestry.rs:84
Functioncontextual_parent_wrong_name
()
tracing-mock/tests/event_ancestry.rs:33
Functioncontextual_parent_wrong_name
()
tracing-mock/tests/span_ancestry.rs:36
Functioncontextual_root
()
tracing-mock/tests/event_ancestry.rs:144
Functioncontextual_root
()
tracing-mock/tests/span_ancestry.rs:163
Functioncontextual_root
()
tracing/tests/span.rs:930
Methodctx
(context: &'static str)
tracing-appender/src/rolling/builder.rs:27
Methodcurrent
()
tracing-core/src/metadata.rs:704
Methodcurrent
Returns a handle to the span [considered by the `Subscriber`] to be the current span. If the subscriber indicates that it does not track the current
tracing/src/span.rs:550
Functioncurrent_path
Returns the test's module path.
tracing-subscriber/src/fmt/format/mod.rs:2233
Methodcurrent_span
Returns a type representing this subscriber's view of the current span. If subscribers track a current span, they should override this function to re
tracing-core/src/subscriber.rs:461
Methodcurrent_span
(&self)
tracing-core/src/subscriber.rs:778
Methodcurrent_span
(&self)
tracing-mock/src/subscriber.rs:1381
Methodcurrent_span
(&self)
tracing-subscriber/src/layer/layered.rs:209
Methodcurrent_span
(&self)
tracing-subscriber/src/fmt/mod.rs:426
Methodcurrent_span
Returns the current span for this formatter.
tracing-subscriber/src/fmt/fmt_layer.rs:1185
Methodcurrent_span
(&self)
tracing-subscriber/tests/registry_span_instrument_drop.rs:73
Functioncustom_name_no_equals_test
()
tracing-attributes/tests/names.rs:50
Functioncustom_name_test
()
tracing-attributes/tests/names.rs:34
Functioncustom_priorities
()
tracing-journald/tests/journal.rs:181
Functioncustom_targets
()
tracing-attributes/tests/targets.rs:68
Functioncustom_writer_closure
()
tracing-subscriber/src/fmt/writer.rs:1274
Functioncustom_writer_mutex
()
tracing-subscriber/src/fmt/writer.rs:1291
Functioncustom_writer_struct
()
tracing-subscriber/src/fmt/writer.rs:1283
Methoddebug_alt
Wraps `self` so that any `fmt::Debug` fields are recorded using the alternate formatter (`{:#?}`).
tracing-subscriber/src/field/mod.rs:137
← previousnext →901–1,000 of 2,480, ranked by callers