pub struct JLoggerCore<'a> { /* private fields */ }
Implementations§
Source§impl<'a> JLoggerCore<'a>
impl<'a> JLoggerCore<'a>
pub fn new(env: &mut JNIEnv<'a>, lib_class_path: &str) -> JResult<Self>
pub fn info<T: Into<String>>(&self, msg: T, env: &mut JNIEnv<'a>)
pub fn warn<T: Into<String>>(&self, msg: T, env: &mut JNIEnv<'a>)
pub fn error<T: Into<String>>(&self, msg: T, env: &mut JNIEnv<'a>)
pub fn debug<T: Into<String>>(&self, msg: T, env: &mut JNIEnv<'a>)
pub fn trace<T: Into<String>>(&self, msg: T, env: &mut JNIEnv<'a>)
Trait Implementations§
Source§impl<'a> Default for JLoggerCore<'a>
impl<'a> Default for JLoggerCore<'a>
Source§fn default() -> JLoggerCore<'a>
fn default() -> JLoggerCore<'a>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<'a> Freeze for JLoggerCore<'a>
impl<'a> RefUnwindSafe for JLoggerCore<'a>
impl<'a> Send for JLoggerCore<'a>where
'a: 'static,
impl<'a> Sync for JLoggerCore<'a>where
'a: 'static,
impl<'a> Unpin for JLoggerCore<'a>
impl<'a> UnwindSafe for JLoggerCore<'a>
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