Struct stderr::Loger
[−]
[src]
pub struct Loger { /* fields omitted */ }
Loger
's setting(inner static mut
)
Methods
impl Loger
[src]
fn set(module_path: &str)
set module_path
fn init(module_path: &str)
handle module_path
and call set()
Loger::init(module_path!())
fn with_time(with_time: bool)
now()
/loc!()
will contains time
fn get() -> String
get module_path
setting
fn status() -> bool
whether already open Loger
fn now() -> String
example: "[2017-0225 00:22:30]"
fn mp_parse(module_path: &'static str) -> bool
Log message occurs at current module whether need output