[][src]Trait tracing_log::AsLog

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

The log type that this type can be converted into.

Loading content...

Required methods

fn as_log(&self) -> Self::Log

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

Loading content...

Implementors

Loading content...