[][src]Trait emit::formatters::WriteEvent

pub trait WriteEvent {
    fn write_event(
        &self,
        event: &Event<'static>,
        to: &mut dyn Write
    ) -> Result<(), Box<dyn Error>>; }

Implementers can write a representation of an event to a binary stream.

Required methods

fn write_event(
    &self,
    event: &Event<'static>,
    to: &mut dyn Write
) -> Result<(), Box<dyn Error>>

Loading content...

Implementors

impl WriteEvent for JsonFormatter[src]

impl WriteEvent for RenderedJsonFormatter[src]

impl WriteEvent for RawFormatter[src]

impl WriteEvent for PlainTextFormatter[src]

Loading content...