pub struct AndroidLogger { /* private fields */ }Expand description
AndroidLogger is the implementation of the logger.
It should not be used from Rust libraries which should only use the facade.
Implementations§
Source§impl AndroidLogger
impl AndroidLogger
Sourcepub fn new<S: Into<String>>(tag: S) -> AndroidLogger
pub fn new<S: Into<String>>(tag: S) -> AndroidLogger
Initializes the logger with defaults
Sourcepub fn init(self) -> Result<(), SetLoggerError>
pub fn init(self) -> Result<(), SetLoggerError>
Initializes the global logger with self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AndroidLogger
impl !RefUnwindSafe for AndroidLogger
impl Send for AndroidLogger
impl Sync for AndroidLogger
impl Unpin for AndroidLogger
impl !UnwindSafe for AndroidLogger
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more