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
private_fake_field
(&self)
tracing-core/src/metadata.rs:338
↓ 1 callers
Method
private_type_id
(&self, _: private::Private<()>)
tracing-core/src/callsite.rs:163
↓ 1 callers
Function
process
(headers: Headers)
examples/examples/valuable_instrument.rs:16
↓ 1 callers
Method
push_dyn
Push a `dyn Callsite` trait object to the callsite registry. This will attempt to lock the callsites vector.
tracing-core/src/callsite.rs:426
↓ 1 callers
Method
put_priority
(&self, buf: &mut Vec<u8>, meta: &Metadata<'_>)
tracing-journald/src/lib.rs:278
↓ 1 callers
Method
r#try
Returns a pointer iff the `Once` was previously initialized
tracing-core/src/spin/once.rs:122
↓ 1 callers
Function
read_from_journal
Read from journal with `journalctl`. `test_name` is a string to match in the `TEST_NAME` field of the `journalctl` call, to make sure to only select
tracing-journald/tests/journal.rs:130
↓ 1 callers
Method
record
(&self, _span: &span::Id, _values: &Record<'_>)
tracing-log/tests/log_tracer.rs:37
↓ 1 callers
Method
record_all
(&self, values: &field::ValueSet<'_>)
tracing/src/span.rs:1227
↓ 1 callers
Method
record_bytes
Visit a byte slice.
tracing-core/src/field.rs:321
↓ 1 callers
Method
record_debug
(&mut self, field: &Field, value: &dyn fmt::Debug)
tracing/src/lib.rs:1167
↓ 1 callers
Method
record_debug
(&mut self, field: &Field, value: &dyn fmt::Debug)
tracing-subscriber/src/field/display.rs:78
↓ 1 callers
Method
record_error
(&mut self, field: &Field, value: &(dyn std::error::Error + 'static))
tracing-core/src/field.rs:335
↓ 1 callers
Method
record_follows_from
(&self, _span: &Id, _follows: &Id)
examples/examples/counters.rs:85
↓ 1 callers
Method
record_follows_from
(&self, span: &Id, follows: &Id)
tracing/benches/shared.rs:109
↓ 1 callers
Method
record_str
Visit a string value.
tracing-core/src/field.rs:316
↓ 1 callers
Method
record_update
(&self, record: &span::Record<'_>)
tracing-subscriber/src/filter/env/directive.rs:475
↓ 1 callers
Method
record_value
(&mut self, field: &Field, value: valuable::Value<'_>)
tracing-core/src/field.rs:281
↓ 1 callers
Function
register
Register a new [`Callsite`] with the global registry. This should be called once per callsite after the callsite has been constructed. See the [docu
tracing-core/src/callsite.rs:235
↓ 1 callers
Method
register
(&'static self)
tracing-core/src/callsite.rs:307
↓ 1 callers
Method
register_callsite
(&self, metadata: &'static Metadata<'static>)
tracing-core/src/dispatcher.rs:525
↓ 1 callers
Function
register_dispatch
(dispatch: &Dispatch)
tracing-core/src/callsite.rs:483
↓ 1 callers
Method
register_dispatch
(&self, dispatch: &dispatcher::Dispatch)
tracing-core/src/callsite.rs:549
↓ 1 callers
Method
register_filter
(&mut self)
tracing-subscriber/src/layer/layered.rs:397
↓ 1 callers
Method
registrar
(&self)
tracing-core/src/dispatcher.rs:484
↓ 1 callers
Function
reload_filter
()
tracing-subscriber/tests/reload.rs:100
↓ 1 callers
Function
reload_handle
()
tracing-subscriber/tests/reload.rs:44
↓ 1 callers
Method
reload_handle
Returns a `Handle` that may be used to reload the constructed subscriber's filter.
tracing-subscriber/src/fmt/mod.rs:871
↓ 1 callers
Method
render
Render the application with a filter input area and a log output area.
examples/examples/env-filter-explorer.rs:80
↓ 1 callers
Method
report
(&self)
tracing-flame/src/error.rs:9
↓ 1 callers
Function
ret_and_err
()
tracing-attributes/tests/ret.rs:203
↓ 1 callers
Function
ret_and_ok
()
tracing-attributes/tests/ret.rs:232
↓ 1 callers
Function
ret_async
()
tracing-attributes/tests/ret.rs:126
↓ 1 callers
Function
ret_mut
(a: &mut i32)
tracing-attributes/tests/ret.rs:94
↓ 1 callers
Function
retry
Retry `f` 30 times 100ms apart, i.e. a total of three seconds. When `f` returns an error wait 100ms and try it again, up to ten times. If the last at
tracing-journald/tests/journal.rs:108
↓ 1 callers
Function
returns_impl_trait
(x: usize)
tracing-attributes/tests/instrument.rs:231
↓ 1 callers
Function
returns_impl_trait
(x: usize)
tracing-attributes/tests/err.rs:155
↓ 1 callers
Method
rotation
(self, rotation: Rotation)
tracing-appender/src/rolling/builder.rs:84
↓ 1 callers
Function
rsp
(status: StatusCode, body: impl Into<Body>)
examples/examples/tower-load.rs:271
↓ 1 callers
Function
run
()
examples/examples/valuable_instrument.rs:20
↓ 1 callers
Method
run
The application's main loop until the user exits.
examples/examples/env-filter-explorer.rs:70
↓ 1 callers
Function
run_on_many_threads
This creates a bunch of threads and makes sure they start executing a given callback almost exactly at the same time.
tracing-log/benches/logging.rs:10
↓ 1 callers
Method
run_with_handle
Consume the receiver and return an `impl` [`Subscriber`] which can be set as the default subscriber and a [`MockHandle`] which can be used to validate
tracing-mock/src/subscriber.rs:1067
↓ 1 callers
Function
sanitize_name
Mangle a name into journald-compliant form
tracing-journald/src/lib.rs:590
↓ 1 callers
Function
seal_fully
(fd: RawFd)
tracing-journald/src/memfd.rs:39
↓ 1 callers
Method
select_next_preset
Selects the next preset filter in the list.
examples/examples/env-filter-explorer.rs:110
↓ 1 callers
Method
select_previous_preset
Selects the previous preset filter in the list.
examples/examples/env-filter-explorer.rs:105
↓ 1 callers
Method
self_expr_field
(&self)
tracing-attributes/tests/fields.rs:77
↓ 1 callers
Method
send_large_payload
(&self, _payload: &[u8])
tracing-journald/src/lib.rs:256
↓ 1 callers
Function
send_one_fd_to
( socket: &UnixDatagram, fd: RawFd, path: P, )
tracing-journald/src/socket.rs:36
↓ 1 callers
Method
set_ansi
(&mut self, ansi: bool)
tracing-subscriber/src/fmt/fmt_layer.rs:244
↓ 1 callers
Method
set_closing
(&mut self)
tracing-subscriber/src/registry/sharded.rs:387
↓ 1 callers
Method
set_from
(&self, bytes: Bytes)
examples/examples/tower-load.rs:260
↓ 1 callers
Method
set_interest
(&self, interest: Interest)
tracing-core/src/callsite.rs:357
↓ 1 callers
Method
set_span_events
Modifies how synthesized events are emitted at points in the [span lifecycle][lifecycle]. See [`Self::with_span_events`] for documentation on the [`F
tracing-subscriber/src/fmt/fmt_layer.rs:262
↓ 1 callers
Function
setup_global_subscriber
(dir: &Path)
examples/examples/inferno-flame.rs:15
↓ 1 callers
Function
shave
(yak: usize)
examples/examples/fmt/yak_shave.rs:10
↓ 1 callers
Function
simulate_logging
()
examples/examples/env-filter-explorer.rs:187
↓ 1 callers
Function
some_async_fn
()
tracing/tests/future_send.rs:8
↓ 1 callers
Method
span_and_inner_pin_ref
Get a reference to the [`Span`] a pinned reference to the wrapped type.
tracing-futures/src/lib.rs:296
↓ 1 callers
Method
span_and_inner_pin_ref
Get a reference to the [`Span`] a pinned reference to the wrapped type.
tracing/src/instrument.rs:304
↓ 1 callers
Method
span_stack
(&self)
tracing-subscriber/src/registry/sharded.rs:208
↓ 1 callers
Method
span_trace
(&self)
tracing-error/src/error.rs:285
↓ 1 callers
Method
start_close
Returns a guard which tracks how many `Layer`s have processed an `on_close` notification via the `CLOSE_COUNT` thread-local. For additional details, s
tracing-subscriber/src/registry/sharded.rs:192
↓ 1 callers
Method
str_matches
(&self, s: &impl AsRef<str>)
tracing-subscriber/src/filter/env/field.rs:313
↓ 1 callers
Function
subscriber_has_plf
Does a type implementing `Subscriber` contain any per-layer filters?
tracing-subscriber/src/filter/mod.rs:51
↓ 1 callers
Function
subscriber_is_none
Is a type implementing `Subscriber` `Option::<_>::None`?
tracing-subscriber/src/layer/mod.rs:1543
↓ 1 callers
Function
subscriber_thread
(idx: usize, register_sleep_micros: u64)
tracing-core/tests/missed_register_callsite.rs:66
↓ 1 callers
Function
subscriber_thread
(idx: usize, register_sleep_micros: u64)
tracing/tests/missed_register_callsite.rs:79
↓ 1 callers
Function
subtask
(number: usize)
examples/examples/spawny-thing.rs:33
↓ 1 callers
Function
subtask
(number: usize)
examples/examples/tokio-spawny-thing.rs:32
↓ 1 callers
Function
suggest_band
()
examples/examples/attrs-literal-field-names.rs:8
↓ 1 callers
Function
suggest_band
()
examples/examples/attrs-basic.rs:8
↓ 1 callers
Method
sync_fun
(&self)
tracing-attributes/tests/async_fn.rs:310
↓ 1 callers
Method
take_serializer
Completes serializing the visited object, returning ownership of the underlying serializer if all fields were serialized correctly, or `Err(S::Error)`
tracing-serde/src/lib.rs:386
↓ 1 callers
Function
target
()
tracing-attributes/tests/instrument.rs:285
↓ 1 callers
Method
target
(&self)
tracing-attributes/src/attr.rs:39
↓ 1 callers
Method
target_enabled
Same as `enabled` above, but skips `Directive`'s with fields.
tracing-subscriber/src/filter/directive.rs:147
↓ 1 callers
Function
target_layer
(target: &'static str)
tracing-subscriber/tests/layer_filters/trees.rs:70
↓ 1 callers
Function
target_layer
(target: &'static str)
tracing-subscriber/tests/layer_filters/filter_scopes.rs:83
↓ 1 callers
Function
test
()
tracing-attributes/tests/ret.rs:22
↓ 1 callers
Function
test_async_fn
(polls: usize)
tracing-attributes/tests/async_fn.rs:10
↓ 1 callers
Function
test_async_fns_nested
()
tracing-attributes/tests/async_fn.rs:115
↓ 1 callers
Function
test_async_fns_nested_other
()
tracing-attributes/tests/async_fn.rs:120
↓ 1 callers
Function
test_json_with_line_number
( expected: &str, builder: crate::fmt::SubscriberBuilder<JsonFields, Format<Json>>, pr
tracing-subscriber/src/fmt/format/json.rs:869
↓ 1 callers
Function
test_log_enabled
()
tracing-subscriber/tests/filter_log.rs:17
↓ 1 callers
Function
test_overridden_parents
( expected: &str, builder: crate::fmt::SubscriberBuilder<DefaultFields, Format<T>>, )
tracing-subscriber/src/fmt/format/mod.rs:1999
↓ 1 callers
Function
test_overridden_parents_in_scope
( expected1: &str, expected2: &str, builder: crate::fmt::SubscriberBuilder<DefaultFiel
tracing-subscriber/src/fmt/format/mod.rs:2022
↓ 1 callers
Function
test_records
()
tracing-subscriber/tests/filter_log.rs:8
↓ 1 callers
Function
test_roundtrip
(s: &str)
tracing-subscriber/src/filter/targets.rs:804
↓ 1 callers
Function
test_without_ansi
( expected: &str, builder: crate::fmt::SubscriberBuilder<DefaultFields, Format<T>>, )
tracing-subscriber/src/fmt/format/mod.rs:1853
↓ 1 callers
Function
test_without_level
( expected: &str, builder: crate::fmt::SubscriberBuilder<DefaultFields, Format<T>>, )
tracing-subscriber/src/fmt/format/mod.rs:1865
↓ 1 callers
Method
to_span_match
(&self)
tracing-subscriber/src/filter/env/field.rs:459
↓ 1 callers
Method
to_tokens
(&self, tokens: &mut TokenStream)
tracing-attributes/src/attr.rs:224
↓ 1 callers
Method
trace_enter
(&self)
tracing-subscriber/src/fmt/format/mod.rs:1750
↓ 1 callers
Method
trace_exit
(&self)
tracing-subscriber/src/fmt/format/mod.rs:1753
↓ 1 callers
Method
trace_new
(&self)
tracing-subscriber/src/fmt/format/mod.rs:1747
↓ 1 callers
Method
trace_requests
(self, get_span: G)
tracing-tower/src/lib.rs:58
↓ 1 callers
Method
trace_service
(self, get_span: G)
tracing-tower/src/lib.rs:65
↓ 1 callers
Function
trace_span
()
examples/examples/env-filter-explorer.rs:210
← previous
next →
701–800 of 2,480, ranked by callers