[][src]Struct loggy::Loggy

pub struct Loggy {
    pub prefix: &'static str,
    pub show_time: bool,
}

Control the behavior of the loggy logger.

Fields

prefix: &'static str

A prefix appended to each message.

This typically contains the name of the program.

show_time: bool

Whether to include the date and time in the log message.

Trait Implementations

impl Log for Loggy[src]

Auto Trait Implementations

impl Send for Loggy

impl Sync for Loggy

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]