Struct cocaine::logging::Logger [] [src]

pub struct Logger { /* fields omitted */ }

Logger allows to log events directly into the Cocaine Logging Service.

Meant to be used in conjunction with cocaine_log! macro.

Methods

impl Logger
[src]

Returns the associated logging service's name given at construction time.

Trait Implementations

impl Debug for Logger
[src]

Formats the value using the given formatter.

impl Clone for Logger
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Log for Logger
[src]

Returns a logger name, that is used as a source parameter.

Checks whether an event with the specified severity can be logged.