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
has_value_filters
(&self)
tracing-subscriber/src/filter/env/directive.rs:438
↓ 1 callers
Function
hourly
Creates an hourly-rotating file appender. The appender returned by `rolling::hourly` can be used with `non_blocking` to create a non-blocking, hourly
tracing-appender/src/rolling.rs:334
↓ 1 callers
Method
id
Borrows the `Id` of the current span, if one exists and is known.
tracing-core/src/span.rs:302
↓ 1 callers
Method
id
(&self)
tracing-subscriber/src/registry/sharded.rs:420
↓ 1 callers
Method
incr_saturating
(&self)
tracing-appender/src/non_blocking.rs:317
↓ 1 callers
Function
info_span
()
examples/examples/env-filter-explorer.rs:224
↓ 1 callers
Method
init
Attempts to set `self` as the [global default subscriber] in the current scope, panicking if this fails. If the "tracing-log" feature flag is enabled
tracing-subscriber/src/util.rs:92
↓ 1 callers
Method
instrument
(self, svc_span: G)
tracing-tower/src/lib.rs:47
↓ 1 callers
Function
instrument_precise
Instrument the function, by fully parsing the function body, which allows us to rewrite some statements related to async-like patterns.
tracing-attributes/src/lib.rs:604
↓ 1 callers
Function
instrument_speculative
Instrument the function, without parsing the function body (instead using the raw tokens).
tracing-attributes/src/lib.rs:587
↓ 1 callers
Function
instrumented_async_fn
()
tracing/test_static_max_level_features/tests/test.rs:99
↓ 1 callers
Function
instrumented_fn
this makes it a bit easier to look at the asm output
tracing/test_static_max_level_features/tests/test.rs:96
↓ 1 callers
Function
instrumented_manual_async
()
tracing/test_static_max_level_features/tests/test.rs:103
↓ 1 callers
Function
instrumented_manual_box_pin
()
tracing/test_static_max_level_features/tests/test.rs:108
↓ 1 callers
Method
interest
(&'static self)
tracing-core/src/callsite.rs:346
↓ 1 callers
Function
interest_cache_epoch
()
tracing-log/src/interest_cache.rs:116
↓ 1 callers
Method
into_debug_match
(self)
tracing-subscriber/src/filter/env/field.rs:322
↓ 1 callers
Method
into_inner
Consumes the `Instrumented`, returning the wrapped type. Note that this drops the span.
tracing-futures/src/lib.rs:489
↓ 1 callers
Method
into_inner
Consumes the `Instrumented`, returning the wrapped type. Note that this drops the span.
tracing/src/instrument.rs:361
↓ 1 callers
Method
into_iter
(self)
tracing-subscriber/src/filter/directive.rs:130
↓ 1 callers
Function
is_below_max_level
(hint: &Option<LevelFilter>, metadata: &Metadata<'_>)
tracing-subscriber/src/filter/filter_fn.rs:745
↓ 1 callers
Method
is_callsite_enabled
( &self, metadata: &'static Metadata<'static>, )
tracing-subscriber/src/filter/filter_fn.rs:293
↓ 1 callers
Method
is_contextual
(&self)
tracing-mock/src/ancestry.rs:112
↓ 1 callers
Method
is_enabled_for
(&self, span: &span::Id, filter: FilterId)
tracing-subscriber/src/layer/context.rs:383
↓ 1 callers
Method
is_hint
Return true if the callsite kind is `Hint`
tracing-core/src/metadata.rs:403
↓ 1 callers
Method
is_matched
(&self)
tracing-subscriber/src/filter/env/field.rs:479
↓ 1 callers
Method
is_matched_slow
(&self)
tracing-subscriber/src/filter/env/field.rs:487
↓ 1 callers
Method
is_open
(&self, span: &str)
tracing-subscriber/src/registry/sharded.rs:652
↓ 1 callers
Function
is_plf_downcast_marker
(_: core::any::TypeId)
tracing-subscriber/src/filter/mod.rs:46
↓ 1 callers
Method
is_root
(&self)
tracing-mock/src/ancestry.rs:116
↓ 1 callers
Method
is_static
(&self)
tracing-subscriber/src/filter/env/directive.rs:62
↓ 1 callers
Function
journalctl_version
()
tracing-journald/tests/journal.rs:14
↓ 1 callers
Function
last
(state: &State, should_be_log: bool, expected: Option<OwnedMetadata>)
tracing-log/tests/log_tracer.rs:117
↓ 1 callers
Method
level
(&self)
tracing-attributes/src/attr.rs:35
↓ 1 callers
Function
level_to_cs
(level: Level)
tracing-log/src/lib.rs:331
↓ 1 callers
Method
log
(&self, record: &log::Record<'_>)
tracing-log/src/log_tracer.rs:197
↓ 1 callers
Method
log
(&self, target: &str, level: log::Level, message: fmt::Arguments<'_>)
tracing/src/span.rs:1345
↓ 1 callers
Method
log_internal_errors
Sets whether to write errors from [`FormatEvent`] to the writer. Defaults to true. By default, `fmt::Layer` will write any `FormatEvent`-internal err
tracing-subscriber/src/fmt/mod.rs:667
↓ 1 callers
Method
log_internal_errors
Sets whether to write errors from [`FormatEvent`] to the writer. Defaults to true. By default, `fmt::Layer` will write any `FormatEvent`-internal err
tracing-subscriber/src/fmt/fmt_layer.rs:372
↓ 1 callers
Function
logs
()
tracing-subscriber/tests/layer_filters/targets.rs:15
↓ 1 callers
Method
lookup_current_filtered
( &self, subscriber: &'lookup S, )
tracing-subscriber/src/layer/context.rs:303
↓ 1 callers
Method
make_ctx
(&'a self, ctx: Context<'a, S>, event: &'a Event<'a>)
tracing-subscriber/src/fmt/fmt_layer.rs:766
↓ 1 callers
Function
make_flamegraph
(tmpdir: &Path, out: &Path)
examples/examples/inferno-flame.rs:25
↓ 1 callers
Function
make_span
Every time time this function is called, it will return a _new instance_ of a span with the same metadata, name, and fields.
tracing/tests/span.rs:55
↓ 1 callers
Method
make_visitor
(&self, target: T)
tracing-subscriber/src/field/delimited.rs:34
↓ 1 callers
Method
make_visitor
(&self, target: T)
tracing-subscriber/src/field/mod.rs:199
↓ 1 callers
Method
make_visitor
(&self, target: Writer<'a>)
tracing-subscriber/src/fmt/format/mod.rs:1232
↓ 1 callers
Method
make_writer
(&'a self)
tracing-subscriber/src/fmt/fmt_layer.rs:1548
↓ 1 callers
Method
make_writer_for
(&'a self, meta: &Metadata<'_>)
tracing-subscriber/src/fmt/fmt_layer.rs:1552
↓ 1 callers
Method
matcher
(&self, metadata: &Metadata<'_>)
tracing-subscriber/src/filter/env/directive.rs:406
↓ 1 callers
Method
max_level_hint
(&self)
tracing-core/src/dispatcher.rs:541
↓ 1 callers
Method
max_level_hint
(&self)
tracing-subscriber/tests/option.rs:17
↓ 1 callers
Method
maybe_pad
(&mut self)
tracing-subscriber/src/fmt/format/mod.rs:1254
↓ 1 callers
Function
memfd_create_syscall
Make the `memfd_create` syscall ourself instead of going through `libc`; `memfd_create` isn't supported on `glibc<2.27` so this allows us to support o
tracing-journald/src/memfd.rs:25
↓ 1 callers
Method
metadata
(&self)
tracing-core/src/callsite.rs:367
↓ 1 callers
Method
metadata
(&self)
tracing-subscriber/src/registry/sharded.rs:424
↓ 1 callers
Method
metadata
(&self)
tracing-subscriber/src/filter/env/mod.rs:884
↓ 1 callers
Function
minutely
Creates a minutely-rotating file appender. This will rotate the log file once per minute. The appender returned by `rolling::minutely` can be used wi
tracing-appender/src/rolling.rs:299
↓ 1 callers
Function
mk_span
()
tracing-core/src/dispatcher.rs:990
↓ 1 callers
Function
mk_span
(i: u64)
tracing/benches/span_repeated.rs:14
↓ 1 callers
Method
my_fn
(&self, arg1: usize)
tracing-attributes/tests/instrument.rs:201
↓ 1 callers
Function
my_fn2
(_arg1: usize, _arg2: UnDebug, _arg3: UnDebug)
tracing-attributes/tests/instrument.rs:110
↓ 1 callers
Function
my_other_fn
()
tracing-attributes/tests/instrument.rs:22
↓ 1 callers
Function
name
()
tracing-attributes/tests/instrument.rs:261
↓ 1 callers
Function
name_target
()
tracing-attributes/tests/instrument.rs:310
↓ 1 callers
Method
named
Overrides the name printed by the mock layer's debugging output. The debugging output is displayed if the test panics, or if the test is run with `--
tracing-mock/src/layer.rs:349
↓ 1 callers
Method
new_span
(&self, span: &span::Attributes<'_>)
tracing-core/src/dispatcher.rs:555
↓ 1 callers
Method
new_span
(&self, span: &span::Attributes<'_>)
tracing/benches/shared.rs:93
↓ 1 callers
Method
next
(&mut self)
tracing-subscriber/src/registry/mod.rs:311
↓ 1 callers
Function
nth_fibonacci
(n: u64)
examples/examples/attrs-args.rs:7
↓ 1 callers
Method
obtain_lock
(&self)
tracing-core/src/spin/mutex.rs:40
↓ 1 callers
Method
on_close
(&self, id: span::Id, ctx: Context<'_, S>)
tracing-subscriber/src/layer/layered.rs:332
↓ 1 callers
Method
on_enter
(&self, id: &span::Id, ctx: Context<'_, S>)
tracing-subscriber/src/layer/layered.rs:320
↓ 1 callers
Method
on_event
(&self, event: &Event<'_>, ctx: Context<'_, S>)
tracing-subscriber/src/layer/layered.rs:314
↓ 1 callers
Method
on_exit
(&self, id: &span::Id, ctx: Context<'_, S>)
tracing-subscriber/src/layer/layered.rs:326
↓ 1 callers
Method
on_follows_from
(&self, span: &span::Id, follows: &span::Id, ctx: Context<'_, S>)
tracing-subscriber/src/layer/layered.rs:297
↓ 1 callers
Method
on_id_change
(&self, old: &span::Id, new: &span::Id, ctx: Context<'_, S>)
tracing-subscriber/src/layer/layered.rs:338
↓ 1 callers
Method
on_layer
(&mut self, subscriber: &mut S)
tracing-subscriber/src/layer/mod.rs:1565
↓ 1 callers
Method
on_new_span
(&self, attrs: &span::Attributes<'_>, id: &span::Id, ctx: Context<'_, S>)
tracing-subscriber/src/layer/layered.rs:285
↓ 1 callers
Method
on_record
(&self, span: &span::Id, values: &span::Record<'_>, ctx: Context<'_, S>)
tracing-subscriber/src/layer/layered.rs:291
↓ 1 callers
Method
on_register_dispatch
Invoked when this subscriber becomes a [`Dispatch`]. ## Avoiding Memory Leaks `Subscriber`s should not store their own [`Dispatch`]. Because the `Di
tracing-core/src/subscriber.rs:100
↓ 1 callers
Method
or_current
Returns this span, if it was [enabled] by the current [`Subscriber`], or the [current span] (whose lexical distance may be further than expected), if
tracing/src/span.rs:1041
↓ 1 callers
Function
other_crate_span
()
examples/examples/env-filter-explorer.rs:245
↓ 1 callers
Function
param_names
(pat: Pat, record_type: RecordType)
tracing-attributes/src/expand.rs:501
↓ 1 callers
Method
parent
(&self)
tracing-mock/src/ancestry.rs:120
↓ 1 callers
Method
parent
(&self)
tracing-subscriber/src/registry/sharded.rs:428
↓ 1 callers
Function
parent_task
(subtasks: usize)
examples/examples/spawny-thing.rs:16
↓ 1 callers
Function
parent_task
(subtasks: usize)
examples/examples/tokio-spawny-thing.rs:16
↓ 1 callers
Function
parse_as_json
(buffer: &MockMakeWriter)
tracing-subscriber/src/fmt/format/json.rs:832
↓ 1 callers
Method
partial_cmp
(&self, other: &Self)
tracing-subscriber/src/filter/env/field.rs:120
↓ 1 callers
Method
pick_interest
(&self, outer: Interest, inner: impl FnOnce() -> Interest)
tracing-subscriber/src/layer/layered.rs:435
↓ 1 callers
Method
pick_level_hint
( &self, outer_hint: Option<LevelFilter>, inner_hint: Option<LevelFilter>, inn
tracing-subscriber/src/layer/layered.rs:478
↓ 1 callers
Method
poll
(self: Pin<&mut Self>, cx: &mut Context<'_>)
tracing-test/src/lib.rs:19
↓ 1 callers
Method
pretty
(self)
tracing-subscriber/src/fmt/format/mod.rs:673
↓ 1 callers
Method
print_counters
(&self)
examples/examples/counters.rs:106
↓ 1 callers
Function
print_extracted_spantraces
Iterate through the source errors and check if each error is actually the attached `SpanTrace` before printing it
examples/examples/instrumented-error.rs:66
↓ 1 callers
Method
print_kvs
( &self, writer: &mut impl Write, kvs: I, leading: &str, )
examples/examples/sloggish/sloggish_subscriber.rs:161
↓ 1 callers
Function
print_naive_spantraces
Iterate through source errors and print all sources as errors uniformly, regardless of whether or not that error has a `SpanTrace` attached or not.
examples/examples/instrumented-error.rs:84
↓ 1 callers
Function
print_sz
(s: &str)
tracing-subscriber/src/filter/targets.rs:780
↓ 1 callers
Function
print_sz
(s: &str)
tracing-subscriber/src/filter/env/mod.rs:994
← previous
next →
601–700 of 2,480, ranked by callers