mirror of
https://github.com/tokio-rs/tracing.git
synced 2025-10-02 15:24:47 +00:00
parent
db738eccb7
commit
f90b4dc97a
@ -442,7 +442,7 @@ where
|
||||
}
|
||||
|
||||
/// Sets whether or not the [thread ID] of the current thread is displayed
|
||||
/// when formatting events
|
||||
/// when formatting events.
|
||||
///
|
||||
/// [thread ID]: std::thread::ThreadId
|
||||
pub fn with_thread_ids(self, display_thread_ids: bool) -> Layer<S, N, format::Format<L, T>, W> {
|
||||
@ -453,7 +453,7 @@ where
|
||||
}
|
||||
|
||||
/// Sets whether or not the [name] of the current thread is displayed
|
||||
/// when formatting events
|
||||
/// when formatting events.
|
||||
///
|
||||
/// [name]: std::thread#naming-threads
|
||||
pub fn with_thread_names(
|
||||
|
@ -748,7 +748,7 @@ impl<F, T> Format<F, T> {
|
||||
}
|
||||
|
||||
/// Sets whether or not the [thread ID] of the current thread is displayed
|
||||
/// when formatting events
|
||||
/// when formatting events.
|
||||
///
|
||||
/// [thread ID]: std::thread::ThreadId
|
||||
pub fn with_thread_ids(self, display_thread_id: bool) -> Format<F, T> {
|
||||
@ -759,7 +759,7 @@ impl<F, T> Format<F, T> {
|
||||
}
|
||||
|
||||
/// Sets whether or not the [name] of the current thread is displayed
|
||||
/// when formatting events
|
||||
/// when formatting events.
|
||||
///
|
||||
/// [name]: std::thread#naming-threads
|
||||
pub fn with_thread_names(self, display_thread_name: bool) -> Format<F, T> {
|
||||
|
@ -666,7 +666,7 @@ where
|
||||
}
|
||||
|
||||
/// Sets whether or not the [name] of the current thread is displayed
|
||||
/// when formatting events
|
||||
/// when formatting events.
|
||||
///
|
||||
/// [name]: std::thread#naming-threads
|
||||
pub fn with_thread_names(
|
||||
@ -680,7 +680,7 @@ where
|
||||
}
|
||||
|
||||
/// Sets whether or not the [thread ID] of the current thread is displayed
|
||||
/// when formatting events
|
||||
/// when formatting events.
|
||||
///
|
||||
/// [thread ID]: std::thread::ThreadId
|
||||
pub fn with_thread_ids(
|
||||
|
Loading…
x
Reference in New Issue
Block a user