Expand description
Abstractions for creating fmt::Write
instances.
Structs§
- A type implementing
fmt::Write
for aMutexGuard
where the type inside theMutex
implementsfmt::Write
. - Combines a
MakeWriter
that returns anOption
of anotherMakeWriter
, so that the secondMakeWriter
is used when the firstMakeWriter
returnsNone
. - Combines two types implementing
MakeWriter
(ormycelium_util::fmt::Write
) to produce a writer that writes to bothMakeWriter
’s returned writers. - A
MakeWriter
combinator that wraps aMakeWriter
with a predicate for span and eventMetadata
, so that theMakeWriter::make_writer_for
method returnsSome
when the predicate returnstrue
, andNone
when the predicate returnsfalse
. - A
MakeWriter
combinator that only returns an enabled writer for spans and events with metadata at or below a specified verbosityLevel
. - A
MakeWriter
combinator that only returns an enabled writer for spans and events with metadata at or above a specified verbosityLevel
.
Enums§
- A writer that is one of two types implementing
fmt::Write
.
Traits§
- A type that can create
fmt::Write
instances. - Extension trait adding combinators for working with types implementing
MakeWriter
.