logstr

~~~rust pub fn e(msg:T)->String where T:std::fmt::Display {
format!("[-E-] [{}] {}",Local::now().format("%y%m%d %H:%M:%S"),msg) } pub fn i(msg:T)->String where T:std::fmt::Display {
format!("[-I-] [{}] {}",Local::now().format("%y%m%d %H:%M:%S"),msg) } pub fn w(msg:T)->String where T:std::fmt::Display {
format!("[-W-] [{}] {}",Local::now().format("%y%m%d %H:%M:%S"),msg) } ~~~