Struct slog_mozlog_json::MozLogJson [] [src]

pub struct MozLogJson<W: Write> { /* fields omitted */ }

Json Drain

Each record will be printed as a Json map to a given io

Methods

impl<W> MozLogJson<W> where
    W: Write
[src]

[src]

New Json Drain with default key-value pairs added

[src]

Build custom Json Drain

Trait Implementations

impl<W> Drain for MozLogJson<W> where
    W: Write
[src]

Type returned by this drain Read more

Type of potential errors that can be returned by this Drain

[src]

Handle one logging statement (Record) Read more

[src]

Avoid: Check if messages at the specified log level are maybe enabled for this logger. Read more

[src]

Avoid: See is_enabled

[src]

Avoid: See is_enabled

[src]

Avoid: See is_enabled

[src]

Avoid: See is_enabled

[src]

Avoid: See is_enabled

[src]

Avoid: See is_enabled

[src]

Pass Drain through a closure, eg. to wrap into another Drain. Read more

[src]

Filter logging records passed to Drain Read more

[src]

Filter logging records passed to Drain (by level) Read more

[src]

Map logging errors returned by this drain Read more

[src]

Ignore results returned by this drain Read more

[src]

Make Self panic when returning any errors Read more

Auto Trait Implementations

impl<W> Send for MozLogJson<W> where
    W: Send

impl<W> !Sync for MozLogJson<W>