Struct rust_logging::Logger
source · [−]pub struct Logger { /* private fields */ }Implementations
sourceimpl Logger
impl Logger
pub fn new() -> Self
pub fn new_from_opts(options: LoggerOptions) -> Self
pub fn warn<S: AsRef<str>>(&self, msg: S)
pub fn success<S: AsRef<str>>(&self, msg: S)
pub fn info<S: AsRef<str>>(&self, msg: S)
pub fn error<S: AsRef<str>>(&self, msg: S)
pub fn fwarning<S: AsRef<str>>(&self, msg: S)
pub fn fsuccess<S: AsRef<str>>(&self, msg: S)
pub fn finfo<S: AsRef<str>>(&self, msg: S)
pub fn ferror<S: AsRef<str>>(&self, msg: S)
Auto Trait Implementations
impl RefUnwindSafe for Logger
impl Send for Logger
impl Sync for Logger
impl Unpin for Logger
impl UnwindSafe for Logger
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more