[][src]Struct casual_logger::Log

pub struct Log {}

Implementations

impl Log[src]

pub fn wait_for_logging_to_complete<F>(timeout_secs: u64, count_down: F) where
    F: Fn(u64, String), 
[src]

Wait for logging to complete.

pub fn enabled(level: Level) -> bool[src]

Check level.

pub fn trace(message: &str)[src]

Trace level. No trailing newline.

pub fn traceln(message: &str)[src]

Trace level. There is a trailing newline.

pub fn trace_t(message: &str, table: &mut Table)[src]

Trace level. No trailing newline. Use table.

pub fn traceln_t(message: &str, table: &mut Table)[src]

Trace level. There is a trailing newline. Use table.

pub fn debug(message: &str)[src]

Debug level. No trailing newline.

pub fn debugln(message: &str)[src]

Debug level. There is a trailing newline.

pub fn debug_t(message: &str, table: &mut Table)[src]

Debug level. No trailing newline. Use table.

pub fn debugln_t(message: &str, table: &mut Table)[src]

Debug level. There is a trailing newline. Use table.

pub fn info(message: &str)[src]

Info level. No trailing newline.

pub fn infoln(message: &str)[src]

Info level. There is a trailing newline.

pub fn info_t(message: &str, table: &mut Table)[src]

Info level. No trailing newline. Use table.

pub fn infoln_t(message: &str, table: &mut Table)[src]

Info level. There is a trailing newline. Use table.

pub fn notice(message: &str)[src]

Notice level. No trailing newline.

pub fn noticeln(message: &str)[src]

Notice level. There is a trailing newline.

pub fn notice_t(message: &str, table: &mut Table)[src]

Notice level. No trailing newline. Use table.

pub fn noticeln_t(message: &str, table: &mut Table)[src]

Notice level. There is a trailing newline. Use table.

pub fn warn(message: &str)[src]

Warning level. No trailing newline.

pub fn warnln(message: &str)[src]

Warning level. There is a trailing newline.

pub fn warn_t(message: &str, table: &mut Table)[src]

Warning level. No trailing newline. Use table.

pub fn warnln_t(message: &str, table: &mut Table)[src]

Warning level. There is a trailing newline. Use table.

pub fn error(message: &str)[src]

Error level. No trailing newline.

pub fn errorln(message: &str)[src]

Error level. There is a trailing newline.

pub fn error_t(message: &str, table: &mut Table)[src]

Error level. No trailing newline. Use table.

pub fn errorln_t(message: &str, table: &mut Table)[src]

Error level. There is a trailing newline. Use table.

pub fn fatal(message: &str) -> String[src]

Fatal level. No trailing newline. Fatal is Panic! Can be used as the first argument of.

pub fn fatalln(message: &str) -> String[src]

Fatal level. There is a trailing newline. Fatal is Panic! Can be used as the first argument of.

pub fn fatal_t(message: &str, table: &mut Table) -> String[src]

Fatal level. No trailing newline. Fatal is Panic! Can be used as the first argument of.

pub fn fatalln_t(message: &str, table: &mut Table) -> String[src]

Fatal level. There is a trailing newline. Fatal is Panic! Can be used as the first argument of.

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.