MCPcopy Create free account

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

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

↓ 2 callersMethodinto_level
Returns the most verbose [`Level`] that this filter accepts, or `None` if it is [`OFF`]. [`OFF`]: LevelFilter::OFF
tracing-core/src/metadata.rs:669
↓ 2 callersMethodis_contextual
Returns true if the new span's parent should be determined based on the current context. If this is true and the current thread is currently inside a
tracing-core/src/span.rs:165
↓ 2 callersMethodis_disabled
(&self)
tracing/src/span.rs:1258
↓ 2 callersMethodis_empty
(&self)
tracing-mock/src/field.rs:505
↓ 2 callersMethodis_enabled
(&self, metadata: &Metadata<'_>)
tracing-subscriber/src/filter/filter_fn.rs:277
↓ 2 callersMethodis_enabled
(self, FilterId(mask): FilterId)
tracing-subscriber/src/filter/layer_filters/mod.rs:1063
↓ 2 callersMethodis_enabled_inner
(&self, span: &span::Id, filter: FilterId)
tracing-subscriber/src/layer/context.rs:403
↓ 2 callersMethodis_log
(&self)
tracing-log/src/lib.rs:492
↓ 2 callersMethodis_sometimes
(&self)
tracing-core/src/subscriber.rs:641
↓ 2 callersMethoditalic
(&self)
tracing-subscriber/src/fmt/format/mod.rs:572
↓ 2 callersMethoditer
(&self)
tracing-subscriber/src/filter/directive.rs:57
↓ 2 callersFunctionlayer_has_plf
Does a type implementing `Layer` contain any per-layer filters?
tracing-subscriber/src/filter/mod.rs:59
↓ 2 callersFunctionlayer_is_none
Is a type implementing `Layer` `Option::<_>::None`?
tracing-subscriber/src/layer/mod.rs:1524
↓ 2 callersMethodlen
(&self)
tracing-core/src/field.rs:964
↓ 2 callersFunctionloglevel_to_cs
( level: log::Level, )
tracing-log/src/lib.rs:341
↓ 2 callersMethodlookup_current
(&self)
tracing-subscriber/src/layer/context.rs:256
↓ 2 callersMethodmake_writer
(&'a self)
tracing-subscriber/src/fmt/writer.rs:689
↓ 2 callersMethodmetadata
(&self)
tracing-core/tests/macros.rs:18
↓ 2 callersFunctionmk_dispatch
()
tracing-subscriber/benches/fmt.rs:89
↓ 2 callersMethodmodify
Invokes a closure with a mutable reference to the current layer or filter, allowing it to be modified in place.
tracing-subscriber/src/reload.rs:308
↓ 2 callersMethodnow
(&self)
tracing-appender/src/rolling.rs:217
↓ 2 callersMethodpaint
(&self, d: impl fmt::Display)
tracing-subscriber/src/fmt/format/mod.rs:1464
↓ 2 callersMethodparent
Returns the new span's explicitly-specified parent, if there is one. Otherwise (if the new span is a root or is a child of the current span), returns
tracing-core/src/span.rs:173
↓ 2 callersMethodparse
(input: ParseStream<'_>)
tracing-attributes/src/lib.rs:663
↓ 2 callersMethodparse
(from: &str, regex: bool)
tracing-subscriber/src/filter/env/directive.rs:121
↓ 2 callersMethodparse
Returns a new [`EnvFilter`] from the directives in the given string, or an error if any are invalid. If `parse` is called with an empty string, then
tracing-subscriber/src/filter/env/builder.rs:168
↓ 2 callersMethodparse_lossy
Returns a new [`EnvFilter`] from the directives in the given string, ignoring* any that are invalid. If `parse_lossy` is called with an empty string,
tracing-subscriber/src/filter/env/builder.rs:146
↓ 2 callersFunctionpath_to_string
Return a path as a String
tracing-attributes/src/expand.rs:782
↓ 2 callersMethodprint_indent
(&self, writer: &mut impl Write, indent: usize)
examples/examples/sloggish/sloggish_subscriber.rs:188
↓ 2 callersMethodprune_old_logs
(&self, max_files: usize)
tracing-appender/src/rolling.rs:655
↓ 2 callersMethodpush_default
Push a `DefaultCallsite` to the callsite registry. If we know the callsite being pushed is a `DefaultCallsite`, we can push it to the linked list wit
tracing-core/src/callsite.rs:436
↓ 2 callersFunctionput_field_wellformed
Append arbitrary data with a well-formed name and value. `value` must not contain an internal newline, because this function writes `value` in the ne
tracing-journald/src/lib.rs:606
↓ 2 callersFunctionput_metadata
(buf: &mut Vec<u8>, meta: &Metadata<'_>, prefix: Option<&str>)
tracing-journald/src/lib.rs:549
↓ 2 callersMethodput_prefix
(&mut self, field: &Field)
tracing-journald/src/lib.rs:406
↓ 2 callersMethodput_span_prefix
(&mut self)
tracing-journald/src/lib.rs:370
↓ 2 callersFunctionput_value
Write the value portion of a key-value pair, in newline separated format. `value` must not contain an internal newline. For a "newline-safe" variant
tracing-journald/src/lib.rs:617
↓ 2 callersMethodread
(&self)
tracing-subscriber/src/sync.rs:42
↓ 2 callersMethodrebuild_interest
Rebuild `Interest`s for all callsites in the registry. This also re-computes the max level hint.
tracing-core/src/callsite.rs:406
↓ 2 callersFunctionrebuild_interest_cache
Clear and reregister interest on every [`Callsite`] This function is intended for runtime reconfiguration of filters on traces when the filter recalc
tracing-core/src/callsite.rs:221
↓ 2 callersMethodrecord
(&self, _: &Id, values: &span::Record<'_>)
examples/examples/counters.rs:89
↓ 2 callersMethodrecord
(&self, span: &tracing::Id, values: &tracing::span::Record<'_>)
examples/examples/sloggish/sloggish_subscriber.rs:209
↓ 2 callersMethodrecord
(&self, _span: &Id, values: &span::Record<'_>)
tracing/benches/shared.rs:99
↓ 2 callersMethodrecord
(&self, _span: &span::Id, _values: &span::Record<'_>)
tracing-subscriber/src/filter/env/mod.rs:870
↓ 2 callersMethodrecord
(&self, _: &Id, _: &Record<'_>)
tracing-subscriber/tests/reload.rs:28
↓ 2 callersMethodrecord_debug
(&mut self, field: &Field, value: &dyn fmt::Debug)
tracing-subscriber/src/fmt/format/pretty.rs:476
↓ 2 callersMethodrecord_debug
(&mut self, field: &Field, value: &dyn fmt::Debug)
tracing-subscriber/src/fmt/format/mod.rs:1299
↓ 2 callersMethodrefresh_writer
(&self, now: OffsetDateTime, file: &mut File)
tracing-appender/src/rolling.rs:728
↓ 2 callersMethodsanitizes_ansi_escapes
Returns `true` if ANSI escape codes should be sanitized.
tracing-subscriber/src/fmt/format/mod.rs:546
↓ 2 callersMethodscope_mut
(&mut self)
tracing-mock/src/event.rs:530
↓ 2 callersMethodselect_preset
Selects a preset filter by index and updates the filter text area.
examples/examples/env-filter-explorer.rs:115
↓ 2 callersMethodsend_payload
(&self, _opayload: &[u8])
tracing-journald/src/lib.rs:235
↓ 2 callersMethodshould_rollover
Checks whether or not it's time to roll over the log file. Rather than returning a `bool`, this returns the current value of `next_date` so that we c
tracing-appender/src/rolling.rs:758
↓ 2 callersMethodspan_and_inner_pin_mut
Get a mutable reference to the [`Span`] a pinned mutable reference to the wrapped type.
tracing/src/instrument.rs:293
↓ 2 callersMethodspan_data
(&'a self, id: &Id)
tracing-subscriber/src/registry/sharded.rs:372
↓ 2 callersFunctiontest_ansi
( is_ansi: bool, expected: &str, builder: crate::fmt::SubscriberBuilder<DefaultFields,
tracing-subscriber/src/fmt/format/mod.rs:1836
↓ 2 callersMethodthread_with_setup
(&self, f: impl FnOnce(&Barrier) + Send + 'static)
tracing-subscriber/benches/support/mod.rs:31
↓ 2 callersMethodtime_since_last_event
(&self)
tracing-flame/src/lib.rs:472
↓ 2 callersMethodto_static
(&self)
tracing-subscriber/src/filter/env/directive.rs:46
↓ 2 callersMethodvisitor
(&self)
tracing-subscriber/src/filter/env/field.rs:474
↓ 2 callersMethodwith_ansi
(self, ansi: bool)
tracing-subscriber/src/fmt/format/pretty.rs:379
↓ 2 callersMethodwith_ansi_sanitization
Sets whether ANSI control character sanitization is enabled. This defaults to `true` as a protective measure against terminal injection attacks. If t
tracing-subscriber/src/fmt/mod.rs:646
↓ 2 callersMethodwith_ansi_sanitization
Sets whether ANSI control character sanitization is enabled. This defaults to `true` as a protective measure against terminal injection attacks. If t
tracing-subscriber/src/fmt/fmt_layer.rs:354
↓ 2 callersMethodwith_env_var
Sets the name of the environment variable used by the [`from_env`], [`from_env_lossy`], and [`try_from_env`] methods. By default, this is the value o
tracing-subscriber/src/filter/env/builder.rs:132
↓ 2 callersMethodwith_filter
(self, filter: FilterId)
tracing-subscriber/src/registry/mod.rs:510
↓ 2 callersMethodwith_filter_reloading
Configures the subscriber being built to allow filter reloading at runtime.
tracing-subscriber/src/fmt/mod.rs:851
↓ 2 callersMethodwith_max_level_hint
Sets the max level that will be provided to the `tracing` system. This method can be used to test the internals of `tracing`, but it is also useful t
tracing-mock/src/subscriber.rs:958
↓ 2 callersMethodwith_priority_mappings
Sets how [`tracing_core::Level`]s are mapped to [journald priorities](Priority). # Examples ```rust use tracing_journald::{Priority, PriorityMapping
tracing-journald/src/lib.rs:169
↓ 2 callersMethodwith_span_events
Configures how synthesized events are emitted at points in the [span lifecycle][lifecycle]. The following options are available: - `FmtSpan::NONE`:
tracing-subscriber/src/fmt/mod.rs:611
↓ 2 callersMethodwith_subscriber
Attaches the provided [`Subscriber`] to this type, returning a `WithDispatch` wrapper. When the wrapped type is a future, stream, or sink, the attach
tracing-futures/src/lib.rs:218
↓ 2 callersMethodwith_thread_ids
Sets whether or not the [thread ID] of the current thread is displayed when formatting events. [thread ID]: std::thread::ThreadId
tracing-subscriber/src/fmt/format/mod.rs:792
↓ 2 callersMethodwith_thread_names
Sets whether or not the [name] of the current thread is displayed when formatting events. [name]: std::thread#naming-threads
tracing-subscriber/src/fmt/mod.rs:731
↓ 2 callersFunctionwrite
(dest: &mut String, span: SpanRef<'_, S>, config: &Config)
tracing-flame/src/lib.rs:485
↓ 2 callersMethodwrite
(&self)
tracing-appender/src/sync.rs:55
↓ 2 callersMethodwrite
(&mut self, buf: &[u8])
examples/examples/env-filter-explorer.rs:151
↓ 2 callersMethodwrite_fmt
Glue for usage of the [`write!`] macro with [`Writer`]s. This method should generally not be invoked manually, but rather through the [`write!`] macr
tracing-subscriber/src/fmt/format/mod.rs:531
↓ 1 callersMethodadd_fields
Record additional field(s) on an existing span. By default, this appends a space to the current set of fields if it is non-empty, and then calls `sel
tracing-subscriber/src/fmt/format/json.rs:380
↓ 1 callersMethodadd_input
Handles normal keyboard input by adding it to the filter text area.
examples/examples/env-filter-explorer.rs:123
↓ 1 callersMethodadd_interest
(&self, interest: Interest)
tracing-subscriber/src/filter/layer_filters/mod.rs:1126
↓ 1 callersMethodand
Returns the common interest between these two Interests. If both interests are the same, this propagates that interest. Otherwise, if they differ, th
tracing-core/src/subscriber.rs:658
↓ 1 callersMethodany_enabled
(self)
tracing-subscriber/src/filter/layer_filters/mod.rs:1068
↓ 1 callersMethodas_log
(&self)
tracing-log/src/lib.rs:220
↓ 1 callersMethodas_serde
(&'a self)
tracing-serde/src/lib.rs:529
↓ 1 callersMethodas_str
(&self)
tracing/src/lib.rs:1095
↓ 1 callersMethodassert_closed
(&self, span: &str)
tracing-subscriber/src/registry/sharded.rs:662
↓ 1 callersMethodassert_closed_in_order
(&self, order: impl AsRef<[&'static str]>)
tracing-subscriber/src/registry/sharded.rs:737
↓ 1 callersFunctionassert_lookup_span
(_: T)
tracing-subscriber/src/fmt/mod.rs:1384
↓ 1 callersFunctionassert_lookup_span
(_: T)
tracing-subscriber/src/fmt/fmt_layer.rs:1352
↓ 1 callersMethodbar
(&self)
tracing-attributes/tests/async_fn.rs:189
↓ 1 callersMethodbase_interest
(&self)
tracing-subscriber/src/filter/env/mod.rs:648
↓ 1 callersMethodbaz
(&self)
tracing-attributes/tests/async_fn.rs:197
↓ 1 callersMethodcall_with_mut_self
(&mut self)
tracing-attributes/tests/async_fn.rs:330
↓ 1 callersMethodcall_with_self
(&self)
tracing-attributes/tests/async_fn.rs:325
↓ 1 callersMethodcallsite_enabled
(&self, meta: &'static Metadata<'static>)
tracing-subscriber/src/filter/layer_filters/mod.rs:467
↓ 1 callersMethodcares_about
(&self, meta: &Metadata<'_>)
tracing-subscriber/src/filter/directive.rs:246
↓ 1 callersMethodcares_about_target
(&self, to_check: &str)
tracing-subscriber/src/filter/directive.rs:178
↓ 1 callersMethodcheck_event_scope
( &self, current_scope: Option<tracing_subscriber::registry::Scope<'_, C>>, expected_s
tracing-mock/src/layer.rs:872
↓ 1 callersFunctioncheck_message
(level: &str, priority: &str)
tracing-journald/tests/journal.rs:182
↓ 1 callersFunctioncheck_number
(x: i32)
examples/examples/panic_hook.rs:51
↓ 1 callersFunctioncheck_number
(x: i32)
examples/examples/tokio_panic_hook.rs:45
↓ 1 callersMethodclear
Clears the span's data in place, dropping the parent's reference count.
tracing-subscriber/src/registry/sharded.rs:495
← previousnext →401–500 of 2,480, ranked by callers