Struct rustracing::log::LogBuilder [−][src]
pub struct LogBuilder { /* fields omitted */ }
Span log builder.
Methods
impl LogBuilder
[src]
impl LogBuilder
ⓘImportant traits for &'a mut Rpub fn field<T: Into<LogField>>(&mut self, field: T) -> &mut Self
[src]
ⓘImportant traits for &'a mut R
pub fn field<T: Into<LogField>>(&mut self, field: T) -> &mut Self
Adds the field.
ⓘImportant traits for &'a mut Rpub fn time(&mut self, time: SystemTime) -> &mut Self
[src]
ⓘImportant traits for &'a mut R
pub fn time(&mut self, time: SystemTime) -> &mut Self
Sets the value of timestamp to time
.
pub fn std(&mut self) -> StdLogFieldsBuilder
[src]
pub fn std(&mut self) -> StdLogFieldsBuilder
Returns a specialized builder for the standard log fields.
pub fn error(&mut self) -> StdErrorLogFieldsBuilder
[src]
pub fn error(&mut self) -> StdErrorLogFieldsBuilder
Returns a specialized builder for the standard error log fields.
Trait Implementations
impl Debug for LogBuilder
[src]
impl Debug for LogBuilder
Auto Trait Implementations
impl Send for LogBuilder
impl Send for LogBuilder
impl Sync for LogBuilder
impl Sync for LogBuilder