MCPcopy Create free account

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

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

↓ 1 callersMethodhas_value_filters
(&self)
tracing-subscriber/src/filter/env/directive.rs:438
↓ 1 callersFunctionhourly
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 callersMethodid
Borrows the `Id` of the current span, if one exists and is known.
tracing-core/src/span.rs:302
↓ 1 callersMethodid
(&self)
tracing-subscriber/src/registry/sharded.rs:420
↓ 1 callersMethodincr_saturating
(&self)
tracing-appender/src/non_blocking.rs:317
↓ 1 callersFunctioninfo_span
()
examples/examples/env-filter-explorer.rs:224
↓ 1 callersMethodinit
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 callersMethodinstrument
(self, svc_span: G)
tracing-tower/src/lib.rs:47
↓ 1 callersFunctioninstrument_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 callersFunctioninstrument_speculative
Instrument the function, without parsing the function body (instead using the raw tokens).
tracing-attributes/src/lib.rs:587
↓ 1 callersFunctioninstrumented_async_fn
()
tracing/test_static_max_level_features/tests/test.rs:99
↓ 1 callersFunctioninstrumented_fn
this makes it a bit easier to look at the asm output
tracing/test_static_max_level_features/tests/test.rs:96
↓ 1 callersFunctioninstrumented_manual_async
()
tracing/test_static_max_level_features/tests/test.rs:103
↓ 1 callersFunctioninstrumented_manual_box_pin
()
tracing/test_static_max_level_features/tests/test.rs:108
↓ 1 callersMethodinterest
(&'static self)
tracing-core/src/callsite.rs:346
↓ 1 callersFunctioninterest_cache_epoch
()
tracing-log/src/interest_cache.rs:116
↓ 1 callersMethodinto_debug_match
(self)
tracing-subscriber/src/filter/env/field.rs:322
↓ 1 callersMethodinto_inner
Consumes the `Instrumented`, returning the wrapped type. Note that this drops the span.
tracing-futures/src/lib.rs:489
↓ 1 callersMethodinto_inner
Consumes the `Instrumented`, returning the wrapped type. Note that this drops the span.
tracing/src/instrument.rs:361
↓ 1 callersMethodinto_iter
(self)
tracing-subscriber/src/filter/directive.rs:130
↓ 1 callersFunctionis_below_max_level
(hint: &Option<LevelFilter>, metadata: &Metadata<'_>)
tracing-subscriber/src/filter/filter_fn.rs:745
↓ 1 callersMethodis_callsite_enabled
( &self, metadata: &'static Metadata<'static>, )
tracing-subscriber/src/filter/filter_fn.rs:293
↓ 1 callersMethodis_contextual
(&self)
tracing-mock/src/ancestry.rs:112
↓ 1 callersMethodis_enabled_for
(&self, span: &span::Id, filter: FilterId)
tracing-subscriber/src/layer/context.rs:383
↓ 1 callersMethodis_hint
Return true if the callsite kind is `Hint`
tracing-core/src/metadata.rs:403
↓ 1 callersMethodis_matched
(&self)
tracing-subscriber/src/filter/env/field.rs:479
↓ 1 callersMethodis_matched_slow
(&self)
tracing-subscriber/src/filter/env/field.rs:487
↓ 1 callersMethodis_open
(&self, span: &str)
tracing-subscriber/src/registry/sharded.rs:652
↓ 1 callersFunctionis_plf_downcast_marker
(_: core::any::TypeId)
tracing-subscriber/src/filter/mod.rs:46
↓ 1 callersMethodis_root
(&self)
tracing-mock/src/ancestry.rs:116
↓ 1 callersMethodis_static
(&self)
tracing-subscriber/src/filter/env/directive.rs:62
↓ 1 callersFunctionjournalctl_version
()
tracing-journald/tests/journal.rs:14
↓ 1 callersFunctionlast
(state: &State, should_be_log: bool, expected: Option<OwnedMetadata>)
tracing-log/tests/log_tracer.rs:117
↓ 1 callersMethodlevel
(&self)
tracing-attributes/src/attr.rs:35
↓ 1 callersFunctionlevel_to_cs
(level: Level)
tracing-log/src/lib.rs:331
↓ 1 callersMethodlog
(&self, record: &log::Record<'_>)
tracing-log/src/log_tracer.rs:197
↓ 1 callersMethodlog
(&self, target: &str, level: log::Level, message: fmt::Arguments<'_>)
tracing/src/span.rs:1345
↓ 1 callersMethodlog_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 callersMethodlog_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 callersFunctionlogs
()
tracing-subscriber/tests/layer_filters/targets.rs:15
↓ 1 callersMethodlookup_current_filtered
( &self, subscriber: &'lookup S, )
tracing-subscriber/src/layer/context.rs:303
↓ 1 callersMethodmake_ctx
(&'a self, ctx: Context<'a, S>, event: &'a Event<'a>)
tracing-subscriber/src/fmt/fmt_layer.rs:766
↓ 1 callersFunctionmake_flamegraph
(tmpdir: &Path, out: &Path)
examples/examples/inferno-flame.rs:25
↓ 1 callersFunctionmake_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 callersMethodmake_visitor
(&self, target: T)
tracing-subscriber/src/field/delimited.rs:34
↓ 1 callersMethodmake_visitor
(&self, target: T)
tracing-subscriber/src/field/mod.rs:199
↓ 1 callersMethodmake_visitor
(&self, target: Writer<'a>)
tracing-subscriber/src/fmt/format/mod.rs:1232
↓ 1 callersMethodmake_writer
(&'a self)
tracing-subscriber/src/fmt/fmt_layer.rs:1548
↓ 1 callersMethodmake_writer_for
(&'a self, meta: &Metadata<'_>)
tracing-subscriber/src/fmt/fmt_layer.rs:1552
↓ 1 callersMethodmatcher
(&self, metadata: &Metadata<'_>)
tracing-subscriber/src/filter/env/directive.rs:406
↓ 1 callersMethodmax_level_hint
(&self)
tracing-core/src/dispatcher.rs:541
↓ 1 callersMethodmax_level_hint
(&self)
tracing-subscriber/tests/option.rs:17
↓ 1 callersMethodmaybe_pad
(&mut self)
tracing-subscriber/src/fmt/format/mod.rs:1254
↓ 1 callersFunctionmemfd_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 callersMethodmetadata
(&self)
tracing-core/src/callsite.rs:367
↓ 1 callersMethodmetadata
(&self)
tracing-subscriber/src/registry/sharded.rs:424
↓ 1 callersMethodmetadata
(&self)
tracing-subscriber/src/filter/env/mod.rs:884
↓ 1 callersFunctionminutely
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 callersFunctionmk_span
()
tracing-core/src/dispatcher.rs:990
↓ 1 callersFunctionmk_span
(i: u64)
tracing/benches/span_repeated.rs:14
↓ 1 callersMethodmy_fn
(&self, arg1: usize)
tracing-attributes/tests/instrument.rs:201
↓ 1 callersFunctionmy_fn2
(_arg1: usize, _arg2: UnDebug, _arg3: UnDebug)
tracing-attributes/tests/instrument.rs:110
↓ 1 callersFunctionmy_other_fn
()
tracing-attributes/tests/instrument.rs:22
↓ 1 callersFunctionname
()
tracing-attributes/tests/instrument.rs:261
↓ 1 callersFunctionname_target
()
tracing-attributes/tests/instrument.rs:310
↓ 1 callersMethodnamed
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 callersMethodnew_span
(&self, span: &span::Attributes<'_>)
tracing-core/src/dispatcher.rs:555
↓ 1 callersMethodnew_span
(&self, span: &span::Attributes<'_>)
tracing/benches/shared.rs:93
↓ 1 callersMethodnext
(&mut self)
tracing-subscriber/src/registry/mod.rs:311
↓ 1 callersFunctionnth_fibonacci
(n: u64)
examples/examples/attrs-args.rs:7
↓ 1 callersMethodobtain_lock
(&self)
tracing-core/src/spin/mutex.rs:40
↓ 1 callersMethodon_close
(&self, id: span::Id, ctx: Context<'_, S>)
tracing-subscriber/src/layer/layered.rs:332
↓ 1 callersMethodon_enter
(&self, id: &span::Id, ctx: Context<'_, S>)
tracing-subscriber/src/layer/layered.rs:320
↓ 1 callersMethodon_event
(&self, event: &Event<'_>, ctx: Context<'_, S>)
tracing-subscriber/src/layer/layered.rs:314
↓ 1 callersMethodon_exit
(&self, id: &span::Id, ctx: Context<'_, S>)
tracing-subscriber/src/layer/layered.rs:326
↓ 1 callersMethodon_follows_from
(&self, span: &span::Id, follows: &span::Id, ctx: Context<'_, S>)
tracing-subscriber/src/layer/layered.rs:297
↓ 1 callersMethodon_id_change
(&self, old: &span::Id, new: &span::Id, ctx: Context<'_, S>)
tracing-subscriber/src/layer/layered.rs:338
↓ 1 callersMethodon_layer
(&mut self, subscriber: &mut S)
tracing-subscriber/src/layer/mod.rs:1565
↓ 1 callersMethodon_new_span
(&self, attrs: &span::Attributes<'_>, id: &span::Id, ctx: Context<'_, S>)
tracing-subscriber/src/layer/layered.rs:285
↓ 1 callersMethodon_record
(&self, span: &span::Id, values: &span::Record<'_>, ctx: Context<'_, S>)
tracing-subscriber/src/layer/layered.rs:291
↓ 1 callersMethodon_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 callersMethodor_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 callersFunctionother_crate_span
()
examples/examples/env-filter-explorer.rs:245
↓ 1 callersFunctionparam_names
(pat: Pat, record_type: RecordType)
tracing-attributes/src/expand.rs:501
↓ 1 callersMethodparent
(&self)
tracing-mock/src/ancestry.rs:120
↓ 1 callersMethodparent
(&self)
tracing-subscriber/src/registry/sharded.rs:428
↓ 1 callersFunctionparent_task
(subtasks: usize)
examples/examples/spawny-thing.rs:16
↓ 1 callersFunctionparent_task
(subtasks: usize)
examples/examples/tokio-spawny-thing.rs:16
↓ 1 callersFunctionparse_as_json
(buffer: &MockMakeWriter)
tracing-subscriber/src/fmt/format/json.rs:832
↓ 1 callersMethodpartial_cmp
(&self, other: &Self)
tracing-subscriber/src/filter/env/field.rs:120
↓ 1 callersMethodpick_interest
(&self, outer: Interest, inner: impl FnOnce() -> Interest)
tracing-subscriber/src/layer/layered.rs:435
↓ 1 callersMethodpick_level_hint
( &self, outer_hint: Option<LevelFilter>, inner_hint: Option<LevelFilter>, inn
tracing-subscriber/src/layer/layered.rs:478
↓ 1 callersMethodpoll
(self: Pin<&mut Self>, cx: &mut Context<'_>)
tracing-test/src/lib.rs:19
↓ 1 callersMethodpretty
(self)
tracing-subscriber/src/fmt/format/mod.rs:673
↓ 1 callersMethodprint_counters
(&self)
examples/examples/counters.rs:106
↓ 1 callersFunctionprint_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 callersMethodprint_kvs
( &self, writer: &mut impl Write, kvs: I, leading: &str, )
examples/examples/sloggish/sloggish_subscriber.rs:161
↓ 1 callersFunctionprint_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 callersFunctionprint_sz
(s: &str)
tracing-subscriber/src/filter/targets.rs:780
↓ 1 callersFunctionprint_sz
(s: &str)
tracing-subscriber/src/filter/env/mod.rs:994
← previousnext →601–700 of 2,480, ranked by callers