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
Function
borrow_val_spans
()
tracing/tests/macros.rs:1389
Function
borrowed_field
()
tracing/tests/span.rs:391
Function
borrowed_field
()
tracing/tests/event.rs:213
Function
both_shorthands
()
tracing/tests/span.rs:1013
Function
both_shorthands
()
tracing/tests/event.rs:317
Function
box_layer_is_layer
()
tracing-subscriber/src/layer/tests.rs:80
Function
box_works
()
tracing-subscriber/tests/layer_filters/boxed.rs:17
Method
boxed
[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
Function
boxed_subscriber
()
tracing/tests/subscriber.rs:60
Method
builder
()
tracing-appender/src/rolling.rs:185
Method
builder
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
Method
builder
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
Method
builder
Returns a new `SubscriberBuilder` for configuring a format subscriber.
tracing-subscriber/src/fmt/mod.rs:352
Function
builders_are_init_ext
()
tracing-subscriber/tests/utils.rs:24
Method
call
(&mut self, target: T)
tracing-tower/src/service_span.rs:165
Method
call
(&mut self, target: T)
tracing-tower/src/request_span.rs:169
Method
call
(&mut self, req: Request<Body>)
examples/examples/tower-server.rs:39
Method
call_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
Method
callsite_enabled
(&self, metadata: &'static Metadata<'static>)
tracing-subscriber/src/reload.rs:217
Method
callsite_enabled
(&self, metadata: &'static Metadata<'static>)
tracing-subscriber/src/filter/targets.rs:462
Method
callsite_enabled
(&self, meta: &'static Metadata<'static>)
tracing-subscriber/src/filter/layer_filters/combinator.rs:120
Function
callsite_enabled_includes_span_directive
()
tracing-subscriber/src/filter/env/mod.rs:926
Function
callsite_enabled_includes_span_directive_field
()
tracing-subscriber/src/filter/env/mod.rs:944
Function
callsite_enabled_includes_span_directive_multiple_fields
()
tracing-subscriber/src/filter/env/mod.rs:963
Function
callsite_enabled_no_span_directive
()
tracing-subscriber/src/filter/env/mod.rs:890
Function
callsite_macro_api
()
tracing/tests/macros.rs:1403
Function
callsite_off
()
tracing-subscriber/src/filter/env/mod.rs:908
Function
can_initialize_log_tracer_with_level
()
tracing-log/tests/reexport_log_crate.rs:8
Method
capture
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
Function
capture_empty
()
tracing-error/src/backtrace.rs:292
Function
capture_supported
()
tracing-flame/tests/concurrent.rs:8
Function
capture_supported
()
tracing-flame/tests/collapsed.rs:8
Function
capture_supported
()
tracing-error/src/backtrace.rs:276
Function
capture_unsupported
()
tracing-error/src/backtrace.rs:305
Method
cares_about
(&self, meta: &Metadata<'_>)
tracing-subscriber/src/filter/env/directive.rs:242
Method
check
( &self, actual_ancestry: &ActualAncestry, ctx: impl std::fmt::Display, collec
tracing-mock/src/ancestry.rs:43
Method
check
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
Method
check
( &mut self, event: &tracing::Event<'_>, get_ancestry: impl FnOnce() -> ActualAncestry
tracing-mock/src/event.rs:534
Function
child_closes_grandparent
()
tracing-subscriber/src/registry/sharded.rs:878
Function
child_closes_parent
()
tracing-subscriber/src/registry/sharded.rs:850
Method
child_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
Method
child_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
Method
child_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
Method
child_of_with
( parent: impl Into<Option<Id>>, meta: &'static Metadata<'static>, values: &field::Val
tracing/src/span.rs:498
Function
clashy_const_field_name
()
tracing-attributes/tests/fields.rs:225
Function
clashy_expr_field
()
tracing-attributes/tests/fields.rs:122
Function
clear_drops_elements
()
tracing-subscriber/src/registry/extensions.rs:247
Method
clear_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
Function
clear_retains_capacity
()
tracing-subscriber/src/registry/extensions.rs:224
Method
clone
(&self)
tracing-subscriber/src/filter/filter_fn.rs:684
Function
clone_and_drop_span_always_go_to_the_subscriber_that_tagged_the_span
()
tracing/tests/span.rs:236
Method
clone_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
Method
clone_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
Method
clone_span
(&self, id: &span::Id)
tracing-core/src/subscriber.rs:762
Method
clone_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
Method
clone_span
(&self, old: &span::Id)
tracing-subscriber/src/layer/layered.rs:171
Method
clone_span
(&self, id: &span::Id)
tracing-subscriber/src/fmt/mod.rs:431
Method
clone_span
(&self, id: &span::Id)
tracing-subscriber/tests/registry_span_instrument_drop.rs:57
Function
cloning_a_span_calls_clone_span
()
tracing/tests/span.rs:203
Function
cmsg_buffer_size_for_one_fd
()
tracing-journald/src/socket.rs:32
Function
combinators_and
()
tracing-subscriber/src/fmt/writer.rs:1456
Function
combinators_level_filters
()
tracing-subscriber/src/fmt/writer.rs:1300
Function
combinators_or_else
()
tracing-subscriber/src/fmt/writer.rs:1361
Function
combinators_or_else_chain
()
tracing-subscriber/src/fmt/writer.rs:1402
Function
compile_fail
()
tracing-attributes/tests/ui.rs:12
Function
constant_field_name
()
tracing/tests/span.rs:1034
Function
constant_field_name
()
tracing/tests/event.rs:516
Method
contains
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
Function
context_event_span
()
tracing-subscriber/src/layer/tests.rs:122
Function
contextual_child
()
tracing/tests/span.rs:949
Function
contextual_parent
()
tracing-mock/tests/event_ancestry.rs:12
Function
contextual_parent
()
tracing-mock/tests/span_ancestry.rs:13
Function
contextual_parent_wrong_id
()
tracing-mock/tests/event_ancestry.rs:52
Function
contextual_parent_wrong_id
()
tracing-mock/tests/span_ancestry.rs:57
Function
contextual_parent_wrong_level
()
tracing-mock/tests/event_ancestry.rs:76
Function
contextual_parent_wrong_level
()
tracing-mock/tests/span_ancestry.rs:84
Function
contextual_parent_wrong_name
()
tracing-mock/tests/event_ancestry.rs:33
Function
contextual_parent_wrong_name
()
tracing-mock/tests/span_ancestry.rs:36
Function
contextual_root
()
tracing-mock/tests/event_ancestry.rs:144
Function
contextual_root
()
tracing-mock/tests/span_ancestry.rs:163
Function
contextual_root
()
tracing/tests/span.rs:930
Method
ctx
(context: &'static str)
tracing-appender/src/rolling/builder.rs:27
Method
current
()
tracing-core/src/metadata.rs:704
Method
current
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
Function
current_path
Returns the test's module path.
tracing-subscriber/src/fmt/format/mod.rs:2233
Method
current_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
Method
current_span
(&self)
tracing-core/src/subscriber.rs:778
Method
current_span
(&self)
tracing-mock/src/subscriber.rs:1381
Method
current_span
(&self)
tracing-subscriber/src/layer/layered.rs:209
Method
current_span
(&self)
tracing-subscriber/src/fmt/mod.rs:426
Method
current_span
Returns the current span for this formatter.
tracing-subscriber/src/fmt/fmt_layer.rs:1185
Method
current_span
(&self)
tracing-subscriber/tests/registry_span_instrument_drop.rs:73
Function
custom_name_no_equals_test
()
tracing-attributes/tests/names.rs:50
Function
custom_name_test
()
tracing-attributes/tests/names.rs:34
Function
custom_priorities
()
tracing-journald/tests/journal.rs:181
Function
custom_targets
()
tracing-attributes/tests/targets.rs:68
Function
custom_writer_closure
()
tracing-subscriber/src/fmt/writer.rs:1274
Function
custom_writer_mutex
()
tracing-subscriber/src/fmt/writer.rs:1291
Function
custom_writer_struct
()
tracing-subscriber/src/fmt/writer.rs:1283
Method
debug_alt
Wraps `self` so that any `fmt::Debug` fields are recorded using the alternate formatter (`{:#?}`).
tracing-subscriber/src/field/mod.rs:137
← previous
next →
901–1,000 of 2,480, ranked by callers