Trait tracing_log::AsLog[][src]

pub trait AsLog: Sealed {
    type Log;
    fn as_log(&self) -> Self::Log;
}

Trait implemented for tracing types that can be converted to a log equivalent.

Associated Types

type Log[src]

The log type that this type can be converted into.

Loading content...

Required methods

fn as_log(&self) -> Self::Log[src]

Returns the log equivalent of self.

Loading content...

Implementations on Foreign Types

impl<'a> AsLog for Metadata<'a>[src]

type Log = Metadata<'a>

impl AsLog for Level[src]

type Log = Level

impl AsLog for LevelFilter[src]

type Log = LevelFilter

Loading content...

Implementors

Loading content...