MCPcopy Create free account

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

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

↓ 3 callersMethodfinish
(mut self)
tracing-subscriber/src/fmt/format/pretty.rs:512
↓ 3 callersMethodfollows_from
Adds an expectation that a `follows_from` relationship will be recorded next. Specifically that a span matching `consequence` follows from a span matc
tracing-mock/src/subscriber.rs:724
↓ 3 callersMethodfor_each
Invokes the provided closure `f` with each callsite in the registry.
tracing-core/src/callsite.rs:465
↓ 3 callersMethodforce_get
(&'a self)
tracing-core/src/spin/once.rs:52
↓ 3 callersMethodformat_fields
( &self, writer: format::Writer<'writer>, fields: R, )
tracing-subscriber/src/fmt/fmt_layer.rs:1103
↓ 3 callersMethodfrom_directives
( &self, directives: impl IntoIterator<Item = Directive>, )
tracing-subscriber/src/filter/env/builder.rs:225
↓ 3 callersFunctiongen_function
Given an existing function, generate an instrumented version of that function
tracing-attributes/src/expand.rs:19
↓ 3 callersFunctionget_global
()
tracing-core/src/dispatcher.rs:446
↓ 3 callersMethodhas_per_layer_filters
(&self)
tracing-subscriber/src/registry/sharded.rs:204
↓ 3 callersFunctioninfo
()
tracing-attributes/tests/levels.rs:15
↓ 3 callersMethodinto_vec
(self)
tracing-subscriber/src/filter/directive.rs:101
↓ 3 callersMethodis_root
Returns true if the new span should be a root.
tracing-core/src/span.rs:154
↓ 3 callersMethodjson
(self)
tracing-subscriber/src/fmt/format/mod.rs:704
↓ 3 callersFunctionlast
(state: &State, expected: Option<Level>)
tracing/test_static_max_level_features/tests/test.rs:46
↓ 3 callersMethodlookup_current
(&self)
tracing-mock/src/subscriber.rs:1398
↓ 3 callersMethodlossy
Sets whether `NonBlocking` should be lossy or not. If set to `true`, logs will be dropped when the buffered limit is reached. If `false`, backpressur
tracing-appender/src/non_blocking.rs:204
↓ 3 callersMethodnext
(&mut self)
tracing-core/src/field.rs:1040
↓ 3 callersMethodnext_date
Determines the next date that we should round to or `None` if `self` uses [`Rotation::NEVER`].
tracing-appender/src/rolling.rs:512
↓ 3 callersFunctionnon_blocking
Convenience function for creating a non-blocking, off-thread writer. See the [`non_blocking` module's docs][non_blocking]'s for more details. [non_b
tracing-appender/src/lib.rs:195
↓ 3 callersMethodon_register_dispatch
(&self, subscriber: &Dispatch)
tracing-subscriber/tests/registry_span_instrument_drop.rs:41
↓ 3 callersMethodprefix
(&self)
tracing-subscriber/src/fmt/format/mod.rs:1468
↓ 3 callersFunctionrebuild_callsite_interest
( callsite: &'static dyn Callsite, dispatchers: &dispatchers::Rebuilder<'_>, )
tracing-core/src/callsite.rs:489
↓ 3 callersMethodrebuilder
(&self)
tracing-core/src/callsite.rs:542
↓ 3 callersMethodrecord
Records all the fields in this set of `Attributes` with the provided [Visitor]. [visitor]: super::field::Visit
tracing-core/src/span.rs:184
↓ 3 callersMethodrecord
Adds an expectation that `fields` are recorded on a span matching the [`ExpectedSpan`] will be recorded next. For further information on how to speci
tracing-mock/src/subscriber.rs:795
↓ 3 callersMethodrecord
Records that the field described by `field` has the value `value`. This may be used with [`field::Empty`] to declare fields whose values are not know
tracing/src/span.rs:1207
↓ 3 callersMethodrecord
(&self, visitor: &mut dyn Visit)
tracing-subscriber/src/field/mod.rs:162
↓ 3 callersFunctionrun_test
(subscriber: impl Into<Dispatch>, buf: MockMakeWriter, expected: &str)
tracing-subscriber/src/fmt/format/mod.rs:2052
↓ 3 callersMethodsource
(&self)
tracing-flame/src/error.rs:31
↓ 3 callersMethodsource
(&self)
tracing-subscriber/src/filter/env/mod.rs:844
↓ 3 callersMethodstatus
Returns the status of this `SpanTrace`. The status indicates one of the following: the current subscriber does not support capturing `SpanTrace`s the
tracing-error/src/backtrace.rs:132
↓ 3 callersFunctiontest_parse_bare_level
helper function for tests below
tracing-subscriber/src/filter/env/directive.rs:803
↓ 3 callersFunctiontest_writer
(make_writer: T, msg: &str, buf: &Mutex<Vec<u8>>)
tracing-subscriber/src/fmt/writer.rs:1235
↓ 3 callersFunctiontrace
()
tracing-attributes/tests/levels.rs:9
↓ 3 callersMethodtry_with_filter
(self, filter: FilterId)
tracing-subscriber/src/registry/mod.rs:494
↓ 3 callersMethodupgrade
Attempts to upgrade this `WeakDispatch` to a [`Dispatch`]. Returns `None` if the referenced `Dispatch` has already been dropped. ## Examples ``` #
tracing-core/src/dispatcher.rs:782
↓ 3 callersMethodvisitor
(&self)
examples/examples/counters.rs:54
↓ 3 callersMethodwith_max_level_hint
Sets the highest verbosity [`Level`] the filter function will enable. The value passed to this method will be returned by this `FilterFn`'s [`Filter:
tracing-subscriber/src/filter/filter_fn.rs:269
↓ 2 callersMethodadvance_date
(&self, now: OffsetDateTime, current: usize)
tracing-appender/src/rolling.rs:772
↓ 2 callersMethodand
Combines `self` with another type implementing [`MakeWriter`], returning a new [`MakeWriter`] that produces [writers] that write to *both outputs. If
tracing-subscriber/src/fmt/writer.rs:455
↓ 2 callersMethodas_field
(&self, metadata: &Metadata<'_>)
tracing/src/field.rs:141
↓ 2 callersFunctionassert_cmsg_bufsize
()
tracing-journald/src/socket.rs:21
↓ 2 callersFunctionassert_info_hello
(subscriber: impl Into<Dispatch>, buf: MockMakeWriter, expected: &str)
tracing-subscriber/src/fmt/format/mod.rs:1974
↓ 2 callersFunctionassert_info_hello_ignore_numeric
When numeric characters are used they often form a non-deterministic value as they usually represent things like a thread id or line number. This asse
tracing-subscriber/src/fmt/format/mod.rs:1984
↓ 2 callersFunctionassert_layer
(_l: &impl Layer<S>)
tracing-subscriber/src/layer/tests.rs:46
↓ 2 callersMethodassert_not_removed
(&self, span: &str)
tracing-subscriber/src/registry/sharded.rs:711
↓ 2 callersMethodassert_open
(&self, span: &str)
tracing-subscriber/src/registry/sharded.rs:676
↓ 2 callersFunctionassert_send
(_f: F)
tracing/tests/future_send.rs:22
↓ 2 callersFunctionbench_thrpt
(c: &mut Criterion, name: &'static str, mut f: impl FnMut(&mut Group<'_>, &usize))
tracing-subscriber/benches/fmt.rs:78
↓ 2 callersMethodbuffered_lines_limit
Sets the number of lines to buffer before dropping logs or exerting backpressure on senders
tracing-appender/src/non_blocking.rs:193
↓ 2 callersMethodby_ref
Return a new [`Writer`] that mutably borrows [`self`]. This can be used to temporarily borrow a [`Writer`] to pass a new [`Writer`] to a function tha
tracing-subscriber/src/fmt/format/mod.rs:466
↓ 2 callersMethodcall
(&mut self, req: Request<Body>)
examples/examples/tower-load.rs:99
↓ 2 callersMethodcallsite
(&self)
tracing-core/src/metadata.rs:320
↓ 2 callersMethodcares_about_span
(&self, span: &span::Id)
tracing-subscriber/src/filter/env/mod.rs:643
↓ 2 callersMethodclone
(&self)
tracing-tower/src/service_span.rs:65
↓ 2 callersMethodclone
(&self)
tracing-tower/src/request_span.rs:65
↓ 2 callersFunctionconnect
(addr: &SocketAddr)
examples/examples/async-fn.rs:28
↓ 2 callersFunctioncontext_get_ancestry
(item: impl HasAncestry, ctx: &Context<'_, C>)
tracing-mock/src/layer.rs:1084
↓ 2 callersFunctioncreate_writer
( directory: &Path, filename: &str, latest_symlink_name: Option<&str>, )
tracing-appender/src/rolling.rs:784
↓ 2 callersMethodcurrent
(&self)
tracing-core/src/dispatcher.rs:869
↓ 2 callersMethodcurrent_span
(&self)
tracing-core/src/dispatcher.rs:710
↓ 2 callersFunctiondebug
Wraps a type implementing `fmt::Debug` as a `Value` that can be recorded using its `Debug` implementation.
tracing-core/src/field.rs:377
↓ 2 callersMethoddebug_matches
(&self, d: &impl fmt::Debug)
tracing-subscriber/src/filter/env/field.rs:318
↓ 2 callersMethodderegexify
(&mut self)
tracing-subscriber/src/filter/env/directive.rs:110
↓ 2 callersMethoddid_enable
(&self, f: impl FnOnce())
tracing-subscriber/src/filter/layer_filters/mod.rs:641
↓ 2 callersMethoddirectives_for
( &'a self, metadata: &'a Metadata<'a>, )
tracing-subscriber/src/filter/directive.rs:76
↓ 2 callersFunctiondispatch_record
XXX(eliza): this is factored out so that we don't have to deal with the pub function `format_trace`'s `Result` return type...maybe we should get rid o
tracing-log/src/lib.rs:168
↓ 2 callersMethoddo_enter
(&self)
tracing/src/span.rs:1049
↓ 2 callersMethoddo_exit
(&self)
tracing/src/span.rs:1066
↓ 2 callersMethoddowncast_raw
(&self, id: TypeId)
tracing-subscriber/src/layer/mod.rs:1672
↓ 2 callersMethoddrop_span
(&self, id: span::Id)
tracing-subscriber/tests/registry_span_instrument_drop.rs:62
↓ 2 callersMethodenabled
(&self, metadata: &log::Metadata<'_>)
tracing-log/src/log_tracer.rs:170
↓ 2 callersMethodenter
Records that a span has been can_enter. This calls the [`enter`] function on the [`Subscriber`] that this `Dispatch` forwards to. [`Subscriber`]: su
tracing-core/src/dispatcher.rs:621
↓ 2 callersFunctionerr
()
tracing-attributes/tests/err.rs:13
↓ 2 callersMethoderror
(&self)
tracing-error/src/error.rs:103
↓ 2 callersMethodevent
(&self, event: &Event<'_>)
tracing-core/src/dispatcher.rs:607
↓ 2 callersFunctionevent_enabled
()
tracing/tests/macros.rs:523
↓ 2 callersMethodevent_scope
Returns an iterator over the [stored data] for all the spans in the event's span context, starting with its parent span and ending with the root of th
tracing-subscriber/src/fmt/fmt_layer.rs:1258
↓ 2 callersFunctionexpect_parse_ralith
(s: &str)
tracing-subscriber/src/filter/targets.rs:618
↓ 2 callersMethodextend
(&mut self, iter: I)
tracing-subscriber/src/filter/directive.rs:115
↓ 2 callersMethodfield_set
(&self)
tracing-core/src/field.rs:1135
↓ 2 callersFunctionfilter
()
tracing-subscriber/tests/layer_filters/boxed.rs:9
↓ 2 callersFunctionfilter_fn
Constructs a [`FilterFn`], from a function or closure that returns `true` if a span or event should be enabled, based on its [`Metadata`]. The return
tracing-subscriber/src/filter/filter_fn.rs:104
↓ 2 callersMethodflush
Flush the internal writer of the `FlameLayer`, ensuring that all intermediately buffered contents reach their destination.
tracing-flame/src/lib.rs:336
↓ 2 callersFunctionformat
Returns the default configuration for an event formatter. Methods on the returned event formatter can be used for further configuration. For example:
tracing-subscriber/src/fmt/format/mod.rs:273
↓ 2 callersMethodformat_fields
(&self, writer: Writer<'writer>, fields: R)
tracing-subscriber/src/fmt/format/mod.rs:1188
↓ 2 callersMethodformat_timestamp
(&self, writer: &mut Writer<'_>)
tracing-subscriber/src/fmt/format/mod.rs:843
↓ 2 callersMethodfrom_env_lossy
Returns a new [`EnvFilter`] from the directives in the configured environment variable, ignoring any directives that are invalid. If the environment
tracing-subscriber/src/filter/env/builder.rs:188
↓ 2 callersFunctiongen_block
Instrument a block
tracing-attributes/src/expand.rs:127
↓ 2 callersMethodget_mut
Get a mutable reference to a type previously inserted on this `ExtensionsMut`.
tracing-subscriber/src/registry/extensions.rs:99
↓ 2 callersMethodhandle
Returns a `Handle` that can be used to reload the wrapped [`Layer`] or [`Filter`]. [`Layer`]: crate::layer::Layer [`Filter`]: crate::layer::Filter
tracing-subscriber/src/reload.rs:276
↓ 2 callersMethodhas_name
(&self)
tracing-subscriber/src/filter/env/directive.rs:38
↓ 2 callersMethodid
Returns the [`Id`](::Id) of the span in which the current thread is executing, or `None` if it is not inside of a span.
examples/examples/sloggish/sloggish_subscriber.rs:48
↓ 2 callersMethodid
Returns this span's `Id`, if it is enabled.
tracing/src/span.rs:1334
↓ 2 callersMethodid
Returns this span's ID.
tracing-subscriber/src/registry/mod.rs:341
↓ 2 callersFunctionid_to_idx
(id: &Id)
tracing-subscriber/src/registry/sharded.rs:152
↓ 2 callersFunctionidx_to_id
(idx: usize)
tracing-subscriber/src/registry/sharded.rs:147
↓ 2 callersMethodin_current_span
(self)
tracing-error/src/error.rs:245
↓ 2 callersFunctioninstrument
( args: proc_macro::TokenStream, item: proc_macro::TokenStream, )
tracing-attributes/src/lib.rs:576
↓ 2 callersMethodinterested
(&self, metadata: &'static Metadata<'static>)
tracing-subscriber/src/filter/targets.rs:365
← previousnext →301–400 of 2,480, ranked by callers