[][src]Struct fluidlite::Log

pub struct Log { /* fields omitted */ }

Logging

You can use own logger to handle library messages. Only one logger supported at a time. You should keep logger from dropping while it used.

Methods

impl Log[src]

pub fn set<'a, I, T>(levels: I, logger: T) where
    T: Logger + 'static,
    I: AsRef<[LogLevel]>, 
[src]

Set logger

pub fn reset()[src]

Reset logger

impl Log[src]

pub fn default_log(level: LogLevel, message: &str)[src]

Trait Implementations

impl Drop for Log[src]

Auto Trait Implementations

impl !RefUnwindSafe for Log

impl !Send for Log

impl !Sync for Log

impl Unpin for Log

impl !UnwindSafe for Log

Blanket Implementations

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

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

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

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.