pub struct XLog { /* private fields */ }Implementations
sourceimpl XLog
impl XLog
pub fn new() -> XLog
pub fn with_level(self, level: LevelFilter) -> XLog
pub fn with_timezone(self, timezone: Timezone) -> XLog
pub fn with_color(self, colored: bool) -> XLog
pub fn init(self) -> Result<(), SetLoggerError>
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for XLog
impl Send for XLog
impl Sync for XLog
impl Unpin for XLog
impl UnwindSafe for XLog
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