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
↓ 1 callers
Method
clone_span
(&self, id: &span::Id)
tracing-subscriber/src/registry/sharded.rs:303
↓ 1 callers
Method
cmp
(&self, other: &Self)
tracing-core/src/metadata.rs:947
↓ 1 callers
Method
cmp
(&self, other: &StaticDirective)
tracing-subscriber/src/filter/directive.rs:196
↓ 1 callers
Method
cmp
(&self, other: &Directive)
tracing-subscriber/src/filter/env/directive.rs:301
↓ 1 callers
Method
cmp
(&self, other: &Self)
tracing-subscriber/src/filter/env/field.rs:84
↓ 1 callers
Method
compact
Sets the layer being built to use a [less verbose formatter][super::format::Compact].
tracing-subscriber/src/fmt/fmt_layer.rs:574
↓ 1 callers
Function
configure
(new_config: Option<InterestCacheConfig>)
tracing-log/src/interest_cache.rs:156
↓ 1 callers
Method
create
( writer: T, buffered_lines_limit: usize, is_lossy: bool, thread_name: String,
tracing-appender/src/non_blocking.rs:149
↓ 1 callers
Function
create_sealable
()
tracing-journald/src/memfd.rs:35
↓ 1 callers
Method
current
(&self)
tracing-subscriber/src/registry/stack.rs:50
↓ 1 callers
Method
current_span
(&self)
tracing-subscriber/src/registry/sharded.rs:330
↓ 1 callers
Method
current_span
(&self)
tracing-subscriber/src/layer/context.rs:66
↓ 1 callers
Function
custom_name
()
tracing-attributes/tests/names.rs:9
↓ 1 callers
Function
custom_name_no_equals
()
tracing-attributes/tests/names.rs:15
↓ 1 callers
Function
custom_target
()
tracing-attributes/tests/targets.rs:9
↓ 1 callers
Function
daily
Creates a daily-rotating file appender. The appender returned by `rolling::daily` can be used with `non_blocking` to create a non-blocking, daily fil
tracing-appender/src/rolling.rs:370
↓ 1 callers
Function
debug_fn
Returns a [`FormatFields`] implementation that formats fields using the provided function or closure.
tracing-subscriber/src/fmt/format/mod.rs:287
↓ 1 callers
Function
debug_span
()
examples/examples/env-filter-explorer.rs:217
↓ 1 callers
Method
default_callsite_enabled
(&self, metadata: &Metadata<'_>)
tracing-subscriber/src/filter/filter_fn.rs:577
↓ 1 callers
Function
default_name
()
tracing-attributes/tests/names.rs:6
↓ 1 callers
Function
default_target
()
tracing-attributes/tests/targets.rs:6
↓ 1 callers
Method
delimited
Wraps `self` so that when fields are formatted to a writer, they are separated by the provided `delimiter`.
tracing-subscriber/src/field/mod.rs:149
↓ 1 callers
Method
directives_for_target
( &'a self, target: &'a str, )
tracing-subscriber/src/filter/directive.rs:154
↓ 1 callers
Function
do_another_thing
( answer: usize, will_succeed: bool, )
examples/examples/instrumented-error.rs:36
↓ 1 callers
Function
do_another_thing
( answer: usize, will_succeed: bool, )
examples/examples/custom-error.rs:44
↓ 1 callers
Function
do_event
()
tracing/tests/filters_dont_leak.rs:49
↓ 1 callers
Function
do_something
(foo: &str)
examples/examples/instrumented-error.rs:30
↓ 1 callers
Function
do_something
(foo: &str)
examples/examples/custom-error.rs:39
↓ 1 callers
Function
do_span
()
tracing/tests/filters_dont_leak.rs:8
↓ 1 callers
Method
downcast_raw
(&self, id: TypeId)
tracing-core/src/subscriber.rs:783
↓ 1 callers
Method
downcast_raw
(&self, id: TypeId)
tracing-subscriber/src/layer/layered.rs:214
↓ 1 callers
Method
downcast_raw
(&self, id: TypeId)
tracing-subscriber/src/filter/layer_filters/mod.rs:873
↓ 1 callers
Method
downcast_ref
Returns some reference to this [`Subscriber`] value if it is of type `T`, or `None` if it isn't.
tracing-subscriber/src/layer/layered.rs:77
↓ 1 callers
Method
downgrade
Creates a [`WeakDispatch`] from this `Dispatch`. A [`WeakDispatch`] is similar to a [`Dispatch`], but it does not prevent the underlying [`Subscriber
tracing-core/src/dispatcher.rs:502
↓ 1 callers
Method
drop_span
(&self, id: span::Id)
tracing-core/src/subscriber.rs:773
↓ 1 callers
Method
enabled
(&self, _metadata: &Metadata<'_>)
tracing-core/src/subscriber.rs:691
↓ 1 callers
Method
enabled
(&self, meta: &Metadata<'_>)
tracing-mock/src/subscriber.rs:1095
↓ 1 callers
Method
enabled
(&self, metadata: &Metadata<'_>, ctx: Context<'_, S>)
tracing-subscriber/src/layer/mod.rs:1594
↓ 1 callers
Method
enabled
(&self, metadata: &Metadata<'_>, _: layer::Context<'_, S>)
tracing-subscriber/src/filter/targets.rs:442
↓ 1 callers
Method
enabled
Returns `true` if this `EnvFilter` would enable the provided `metadata` in the current context. This is equivalent to calling the [`Layer::enabled`]
tracing-subscriber/src/filter/env/mod.rs:498
↓ 1 callers
Method
enter
(&self, span: &Id)
tracing/benches/shared.rs:118
↓ 1 callers
Method
enter
(&self, span: &Id)
tracing-subscriber/benches/filter_log.rs:35
↓ 1 callers
Method
enter
(&self, id: &span::Id)
tracing-subscriber/src/registry/sharded.rs:290
↓ 1 callers
Function
erase_impl_trait
(ty: &Type)
tracing-attributes/src/expand.rs:845
↓ 1 callers
Function
err_async
(polls: usize)
tracing-attributes/tests/err.rs:61
↓ 1 callers
Function
err_dbg
()
tracing-attributes/tests/err.rs:182
↓ 1 callers
Function
err_dbg_info
()
tracing-attributes/tests/err.rs:283
↓ 1 callers
Function
err_early_return
()
tracing-attributes/tests/err.rs:40
↓ 1 callers
Function
err_info
()
tracing-attributes/tests/err.rs:263
↓ 1 callers
Function
err_mut
(out: &mut u8)
tracing-attributes/tests/err.rs:95
↓ 1 callers
Function
err_mut_async
(polls: usize, out: &mut u8)
tracing-attributes/tests/err.rs:116
↓ 1 callers
Function
err_warn_info
()
tracing-attributes/tests/err.rs:312
↓ 1 callers
Function
error_span
()
examples/examples/env-filter-explorer.rs:238
↓ 1 callers
Method
evaluate_filter
Evaluates the current filter and returns a log widget with the filtered logs or an error.
examples/examples/env-filter-explorer.rs:128
↓ 1 callers
Method
event
(&self, event: &Event<'_>)
tracing-log/tests/log_tracer.rs:41
↓ 1 callers
Method
event_enabled
(&self, event: &Event<'_>)
tracing-core/src/subscriber.rs:742
↓ 1 callers
Method
event_scope
Returns an iterator over the [stored data] for all the spans in the current context, starting with the parent span of the specified event, and ending
tracing-subscriber/src/layer/context.rs:363
↓ 1 callers
Function
events
()
tracing-subscriber/tests/vec_subscriber_filter_interests_cached.rs:51
↓ 1 callers
Function
events
()
tracing-subscriber/tests/multiple_layer_filter_interests_cached.rs:65
↓ 1 callers
Function
events
()
tracing-subscriber/tests/layer_filter_interests_are_cached.rs:34
↓ 1 callers
Method
exit
(mut self)
tracing/src/span.rs:1562
↓ 1 callers
Method
extensions_mut
(&self)
tracing-subscriber/src/registry/sharded.rs:436
↓ 1 callers
Method
fake_field
(&self)
tracing-core/src/field.rs:952
↓ 1 callers
Function
fibonacci_seq
(to: u64)
examples/examples/attrs-args.rs:18
↓ 1 callers
Method
field_map
(&self)
tracing-serde/src/fields.rs:8
↓ 1 callers
Method
field_matcher
(&self, meta: &Metadata<'_>)
tracing-subscriber/src/filter/env/directive.rs:70
↓ 1 callers
Method
filename_prefix
(self, prefix: impl Into<String>)
tracing-appender/src/rolling/builder.rs:128
↓ 1 callers
Function
filter_out_everything
()
tracing-subscriber/tests/layer_filters/option.rs:9
↓ 1 callers
Method
finish
(&self)
tracing-subscriber/src/registry/extensions.rs:31
↓ 1 callers
Method
finish
(self)
tracing-subscriber/src/field/delimited.rs:119
↓ 1 callers
Method
flush_on_drop
Returns a `FlushGuard` which will flush the `FlameLayer`'s writer when it is dropped, or when `flush` is manually invoked on the guard.
tracing-flame/src/lib.rs:278
↓ 1 callers
Function
fmt
(t: u64)
tracing-subscriber/src/fmt/format/mod.rs:2186
↓ 1 callers
Method
fmt_fields
Sets the field formatter that the subscriber being built will use to record fields. For example: ```rust use tracing_subscriber::fmt::format; use tra
tracing-subscriber/src/fmt/mod.rs:897
↓ 1 callers
Function
fn_clashy_const_field_name
(s: &str)
tracing-attributes/tests/fields.rs:66
↓ 1 callers
Function
fn_clashy_expr_field
(s: &str)
tracing-attributes/tests/fields.rs:23
↓ 1 callers
Function
fn_clashy_expr_field2
(s: &str)
tracing-attributes/tests/fields.rs:28
↓ 1 callers
Function
fn_const_field_name
()
tracing-attributes/tests/fields.rs:43
↓ 1 callers
Function
fn_const_fn_field_name
()
tracing-attributes/tests/fields.rs:50
↓ 1 callers
Function
fn_empty_field
()
tracing-attributes/tests/fields.rs:12
↓ 1 callers
Function
fn_expr_field
(s: &str)
tracing-attributes/tests/fields.rs:15
↓ 1 callers
Function
fn_keyword_ident_in_field
(_arg: &str)
tracing-attributes/tests/fields.rs:38
↓ 1 callers
Function
fn_no_param
()
tracing-attributes/tests/fields.rs:6
↓ 1 callers
Function
fn_param
(param: u32)
tracing-attributes/tests/fields.rs:9
↓ 1 callers
Function
fn_string
(s: String)
tracing-attributes/tests/fields.rs:33
↓ 1 callers
Function
fn_string_field_name
()
tracing-attributes/tests/fields.rs:61
↓ 1 callers
Function
fn_struct_const_field_name
()
tracing-attributes/tests/fields.rs:58
↓ 1 callers
Function
fn_two_expr_fields
(s: &str)
tracing-attributes/tests/fields.rs:18
↓ 1 callers
Method
foo
(&mut self, v: usize)
tracing-attributes/tests/async_fn.rs:179
↓ 1 callers
Function
format_datetime
( now: OffsetDateTime, into: &mut Writer<'_>, fmt: &impl Formattable, )
tracing-subscriber/src/fmt/time/time_crate.rs:461
↓ 1 callers
Method
format_event
( &self, ctx: &FmtContext<'_, S, N>, writer: Writer<'_>, event: &Event<'_>,
tracing-subscriber/src/fmt/format/mod.rs:218
↓ 1 callers
Method
format_time
(&self, w: &mut Writer<'_>)
tracing-subscriber/src/fmt/format/mod.rs:1815
↓ 1 callers
Method
format_time
(&self, w: &mut Writer<'_>)
tracing-subscriber/src/fmt/format/json.rs:562
↓ 1 callers
Method
gen_async
( self, args: InstrumentArgs, instrumented_function_name: &str, )
tracing-attributes/src/expand.rs:707
↓ 1 callers
Function
gen_uri
(authority: &str)
examples/examples/tower-load.rs:305
↓ 1 callers
Function
get_max_level_inner
()
tracing/src/level_filters.rs:68
↓ 1 callers
Method
handle_event
Handles a single terminal event (e.g. mouse, keyboard, resize).
examples/examples/env-filter-explorer.rs:91
↓ 1 callers
Method
handle_recv
(&mut self, result: &Result<Msg, RecvError>)
tracing-appender/src/worker.rs:30
↓ 1 callers
Method
handle_try_recv
(&mut self, result: &Result<Msg, TryRecvError>)
tracing-appender/src/worker.rs:41
↓ 1 callers
Method
has_expectations
(&self)
tracing-mock/src/metadata.rs:73
↓ 1 callers
Method
has_fields
(&self)
tracing-subscriber/src/filter/env/directive.rs:42
← previous
next →
501–600 of 2,480, ranked by callers