pub struct Logger { /* private fields */ }
Expand description

A type representing the logger.

Trait Implementations

Returns the “default value” for a type. Read more

#Implementations of the logger.

Initialize a logger.

Log the given slice as-is. If logging is not successful an error will be returned. The event can be no bigger than 512 bytes. Read more

Log a serializable event by serializing it with a supplied serializer. Note that the serialized event must be no larger than 512 bytes. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.