Struct flexi_logger::DeferredNow [−][src]
pub struct DeferredNow(_);
Expand description
Deferred timestamp creation.
Is used to ensure that a log record that is sent to multiple outputs (in maybe different formats) always uses the same timestamp.
Implementations
Retrieve the timestamp.
Requires mutability because the first caller will generate the timestamp.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for DeferredNow
impl Send for DeferredNow
impl Sync for DeferredNow
impl Unpin for DeferredNow
impl UnwindSafe for DeferredNow
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more