[]Struct jni_android_sys::java::util::logging::Logger

#[repr(transparent)]
pub struct Logger(_);

public class Logger

Required feature: "java-util-logging-Logger"

Methods

impl Logger

pub fn getGlobal<'env>(
    __jni_env: &'env Env
) -> Result<Option<Local<'env, Logger>>, Local<'env, Throwable>>
[src]

getGlobal

Required features: "java-util-logging-Logger"

pub fn getLogger_String<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Logger>>, Local<'env, Throwable>>
[src]

getLogger

Required features: "java-lang-String", "java-util-logging-Logger"

pub fn getLogger_String_String<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env String>>,
    arg1: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Logger>>, Local<'env, Throwable>>
[src]

getLogger

Required features: "java-lang-String", "java-util-logging-Logger"

pub fn getAnonymousLogger<'env>(
    __jni_env: &'env Env
) -> Result<Option<Local<'env, Logger>>, Local<'env, Throwable>>
[src]

getAnonymousLogger

Required features: "java-util-logging-Logger"

pub fn getAnonymousLogger_String<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Logger>>, Local<'env, Throwable>>
[src]

getAnonymousLogger

Required features: "java-lang-String", "java-util-logging-Logger"

pub fn getResourceBundle<'env>(
    &'env self
) -> Result<Option<Local<'env, ResourceBundle>>, Local<'env, Throwable>>
[src]

getResourceBundle

Required features: "java-util-ResourceBundle"

pub fn getResourceBundleName<'env>(
    &'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]

getResourceBundleName

Required features: "java-lang-String"

pub fn setFilter<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Filter>>
) -> Result<(), Local<'env, Throwable>>
[src]

setFilter

Required features: "java-util-logging-Filter"

pub fn getFilter<'env>(
    &'env self
) -> Result<Option<Local<'env, Filter>>, Local<'env, Throwable>>
[src]

getFilter

Required features: "java-util-logging-Filter"

pub fn log_LogRecord<'env>(
    &'env self,
    arg0: impl Into<Option<&'env LogRecord>>
) -> Result<(), Local<'env, Throwable>>
[src]

log

Required features: "java-util-logging-LogRecord"

pub fn log_Level_String<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Level>>,
    arg1: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]

log

Required features: "java-lang-String", "java-util-logging-Level"

pub fn log_Level_Supplier<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Level>>,
    arg1: impl Into<Option<&'env Supplier>>
) -> Result<(), Local<'env, Throwable>>
[src]

log

Required features: "java-util-function-Supplier", "java-util-logging-Level"

pub fn log_Level_String_Object<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Level>>,
    arg1: impl Into<Option<&'env String>>,
    arg2: impl Into<Option<&'env Object>>
) -> Result<(), Local<'env, Throwable>>
[src]

log

Required features: "java-lang-Object", "java-lang-String", "java-util-logging-Level"

pub fn log_Level_String_Object_array<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Level>>,
    arg1: impl Into<Option<&'env String>>,
    arg2: impl Into<Option<&'env ObjectArray<Object, Throwable>>>
) -> Result<(), Local<'env, Throwable>>
[src]

log

Required features: "java-lang-Object", "java-lang-String", "java-util-logging-Level"

pub fn log_Level_String_Throwable<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Level>>,
    arg1: impl Into<Option<&'env String>>,
    arg2: impl Into<Option<&'env Throwable>>
) -> Result<(), Local<'env, Throwable>>
[src]

log

Required features: "java-lang-String", "java-lang-Throwable", "java-util-logging-Level"

pub fn log_Level_Throwable_Supplier<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Level>>,
    arg1: impl Into<Option<&'env Throwable>>,
    arg2: impl Into<Option<&'env Supplier>>
) -> Result<(), Local<'env, Throwable>>
[src]

log

Required features: "java-lang-Throwable", "java-util-function-Supplier", "java-util-logging-Level"

pub fn logp_Level_String_String_String<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Level>>,
    arg1: impl Into<Option<&'env String>>,
    arg2: impl Into<Option<&'env String>>,
    arg3: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]

logp

Required features: "java-lang-String", "java-util-logging-Level"

pub fn logp_Level_String_String_Supplier<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Level>>,
    arg1: impl Into<Option<&'env String>>,
    arg2: impl Into<Option<&'env String>>,
    arg3: impl Into<Option<&'env Supplier>>
) -> Result<(), Local<'env, Throwable>>
[src]

logp

Required features: "java-lang-String", "java-util-function-Supplier", "java-util-logging-Level"

pub fn logp_Level_String_String_String_Object<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Level>>,
    arg1: impl Into<Option<&'env String>>,
    arg2: impl Into<Option<&'env String>>,
    arg3: impl Into<Option<&'env String>>,
    arg4: impl Into<Option<&'env Object>>
) -> Result<(), Local<'env, Throwable>>
[src]

logp

Required features: "java-lang-Object", "java-lang-String", "java-util-logging-Level"

pub fn logp_Level_String_String_String_Object_array<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Level>>,
    arg1: impl Into<Option<&'env String>>,
    arg2: impl Into<Option<&'env String>>,
    arg3: impl Into<Option<&'env String>>,
    arg4: impl Into<Option<&'env ObjectArray<Object, Throwable>>>
) -> Result<(), Local<'env, Throwable>>
[src]

logp

Required features: "java-lang-Object", "java-lang-String", "java-util-logging-Level"

pub fn logp_Level_String_String_String_Throwable<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Level>>,
    arg1: impl Into<Option<&'env String>>,
    arg2: impl Into<Option<&'env String>>,
    arg3: impl Into<Option<&'env String>>,
    arg4: impl Into<Option<&'env Throwable>>
) -> Result<(), Local<'env, Throwable>>
[src]

logp

Required features: "java-lang-String", "java-lang-Throwable", "java-util-logging-Level"

pub fn logp_Level_String_String_Throwable_Supplier<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Level>>,
    arg1: impl Into<Option<&'env String>>,
    arg2: impl Into<Option<&'env String>>,
    arg3: impl Into<Option<&'env Throwable>>,
    arg4: impl Into<Option<&'env Supplier>>
) -> Result<(), Local<'env, Throwable>>
[src]

logp

Required features: "java-lang-String", "java-lang-Throwable", "java-util-function-Supplier", "java-util-logging-Level"

pub fn logrb_Level_String_String_String_String<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Level>>,
    arg1: impl Into<Option<&'env String>>,
    arg2: impl Into<Option<&'env String>>,
    arg3: impl Into<Option<&'env String>>,
    arg4: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]

Deprecated

logrb

Required features: "java-lang-String", "java-util-logging-Level"

pub fn logrb_Level_String_String_String_String_Object<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Level>>,
    arg1: impl Into<Option<&'env String>>,
    arg2: impl Into<Option<&'env String>>,
    arg3: impl Into<Option<&'env String>>,
    arg4: impl Into<Option<&'env String>>,
    arg5: impl Into<Option<&'env Object>>
) -> Result<(), Local<'env, Throwable>>
[src]

Deprecated

logrb

Required features: "java-lang-Object", "java-lang-String", "java-util-logging-Level"

pub fn logrb_Level_String_String_String_String_Object_array<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Level>>,
    arg1: impl Into<Option<&'env String>>,
    arg2: impl Into<Option<&'env String>>,
    arg3: impl Into<Option<&'env String>>,
    arg4: impl Into<Option<&'env String>>,
    arg5: impl Into<Option<&'env ObjectArray<Object, Throwable>>>
) -> Result<(), Local<'env, Throwable>>
[src]

Deprecated

logrb

Required features: "java-lang-Object", "java-lang-String", "java-util-logging-Level"

pub fn logrb_Level_String_String_ResourceBundle_String_Object_array<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Level>>,
    arg1: impl Into<Option<&'env String>>,
    arg2: impl Into<Option<&'env String>>,
    arg3: impl Into<Option<&'env ResourceBundle>>,
    arg4: impl Into<Option<&'env String>>,
    arg5: impl Into<Option<&'env ObjectArray<Object, Throwable>>>
) -> Result<(), Local<'env, Throwable>>
[src]

logrb

Required features: "java-lang-Object", "java-lang-String", "java-util-ResourceBundle", "java-util-logging-Level"

pub fn logrb_Level_String_String_String_String_Throwable<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Level>>,
    arg1: impl Into<Option<&'env String>>,
    arg2: impl Into<Option<&'env String>>,
    arg3: impl Into<Option<&'env String>>,
    arg4: impl Into<Option<&'env String>>,
    arg5: impl Into<Option<&'env Throwable>>
) -> Result<(), Local<'env, Throwable>>
[src]

Deprecated

logrb

Required features: "java-lang-String", "java-lang-Throwable", "java-util-logging-Level"

pub fn logrb_Level_String_String_ResourceBundle_String_Throwable<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Level>>,
    arg1: impl Into<Option<&'env String>>,
    arg2: impl Into<Option<&'env String>>,
    arg3: impl Into<Option<&'env ResourceBundle>>,
    arg4: impl Into<Option<&'env String>>,
    arg5: impl Into<Option<&'env Throwable>>
) -> Result<(), Local<'env, Throwable>>
[src]

logrb

Required features: "java-lang-String", "java-lang-Throwable", "java-util-ResourceBundle", "java-util-logging-Level"

pub fn entering_String_String<'env>(
    &'env self,
    arg0: impl Into<Option<&'env String>>,
    arg1: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]

entering

Required features: "java-lang-String"

pub fn entering_String_String_Object<'env>(
    &'env self,
    arg0: impl Into<Option<&'env String>>,
    arg1: impl Into<Option<&'env String>>,
    arg2: impl Into<Option<&'env Object>>
) -> Result<(), Local<'env, Throwable>>
[src]

entering

Required features: "java-lang-Object", "java-lang-String"

pub fn entering_String_String_Object_array<'env>(
    &'env self,
    arg0: impl Into<Option<&'env String>>,
    arg1: impl Into<Option<&'env String>>,
    arg2: impl Into<Option<&'env ObjectArray<Object, Throwable>>>
) -> Result<(), Local<'env, Throwable>>
[src]

entering

Required features: "java-lang-Object", "java-lang-String"

pub fn exiting_String_String<'env>(
    &'env self,
    arg0: impl Into<Option<&'env String>>,
    arg1: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]

exiting

Required features: "java-lang-String"

pub fn exiting_String_String_Object<'env>(
    &'env self,
    arg0: impl Into<Option<&'env String>>,
    arg1: impl Into<Option<&'env String>>,
    arg2: impl Into<Option<&'env Object>>
) -> Result<(), Local<'env, Throwable>>
[src]

exiting

Required features: "java-lang-Object", "java-lang-String"

pub fn throwing<'env>(
    &'env self,
    arg0: impl Into<Option<&'env String>>,
    arg1: impl Into<Option<&'env String>>,
    arg2: impl Into<Option<&'env Throwable>>
) -> Result<(), Local<'env, Throwable>>
[src]

throwing

Required features: "java-lang-String", "java-lang-Throwable"

pub fn severe_String<'env>(
    &'env self,
    arg0: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]

severe

Required features: "java-lang-String"

pub fn warning_String<'env>(
    &'env self,
    arg0: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]

warning

Required features: "java-lang-String"

pub fn info_String<'env>(
    &'env self,
    arg0: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]

info

Required features: "java-lang-String"

pub fn config_String<'env>(
    &'env self,
    arg0: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]

config

Required features: "java-lang-String"

pub fn fine_String<'env>(
    &'env self,
    arg0: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]

fine

Required features: "java-lang-String"

pub fn finer_String<'env>(
    &'env self,
    arg0: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]

finer

Required features: "java-lang-String"

pub fn finest_String<'env>(
    &'env self,
    arg0: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]

finest

Required features: "java-lang-String"

pub fn severe_Supplier<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Supplier>>
) -> Result<(), Local<'env, Throwable>>
[src]

severe

Required features: "java-util-function-Supplier"

pub fn warning_Supplier<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Supplier>>
) -> Result<(), Local<'env, Throwable>>
[src]

warning

Required features: "java-util-function-Supplier"

pub fn info_Supplier<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Supplier>>
) -> Result<(), Local<'env, Throwable>>
[src]

info

Required features: "java-util-function-Supplier"

pub fn config_Supplier<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Supplier>>
) -> Result<(), Local<'env, Throwable>>
[src]

config

Required features: "java-util-function-Supplier"

pub fn fine_Supplier<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Supplier>>
) -> Result<(), Local<'env, Throwable>>
[src]

fine

Required features: "java-util-function-Supplier"

pub fn finer_Supplier<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Supplier>>
) -> Result<(), Local<'env, Throwable>>
[src]

finer

Required features: "java-util-function-Supplier"

pub fn finest_Supplier<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Supplier>>
) -> Result<(), Local<'env, Throwable>>
[src]

finest

Required features: "java-util-function-Supplier"

pub fn setLevel<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Level>>
) -> Result<(), Local<'env, Throwable>>
[src]

setLevel

Required features: "java-util-logging-Level"

pub fn getLevel<'env>(
    &'env self
) -> Result<Option<Local<'env, Level>>, Local<'env, Throwable>>
[src]

getLevel

Required features: "java-util-logging-Level"

pub fn isLoggable<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Level>>
) -> Result<bool, Local<'env, Throwable>>
[src]

isLoggable

Required features: "java-util-logging-Level"

pub fn getName<'env>(
    &'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]

getName

Required features: "java-lang-String"

pub fn addHandler<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Handler>>
) -> Result<(), Local<'env, Throwable>>
[src]

addHandler

Required features: "java-util-logging-Handler"

pub fn removeHandler<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Handler>>
) -> Result<(), Local<'env, Throwable>>
[src]

removeHandler

Required features: "java-util-logging-Handler"

pub fn getHandlers<'env>(
    &'env self
) -> Result<Option<Local<'env, ObjectArray<Handler, Throwable>>>, Local<'env, Throwable>>
[src]

getHandlers

Required features: "java-util-logging-Handler"

pub fn setUseParentHandlers<'env>(
    &'env self,
    arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn getUseParentHandlers<'env>(
    &'env self
) -> Result<bool, Local<'env, Throwable>>
[src]

pub fn setResourceBundle<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ResourceBundle>>
) -> Result<(), Local<'env, Throwable>>
[src]

setResourceBundle

Required features: "java-util-ResourceBundle"

pub fn getParent<'env>(
    &'env self
) -> Result<Option<Local<'env, Logger>>, Local<'env, Throwable>>
[src]

getParent

Required features: "java-util-logging-Logger"

pub fn setParent<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Logger>>
) -> Result<(), Local<'env, Throwable>>
[src]

setParent

Required features: "java-util-logging-Logger"

pub const GLOBAL_LOGGER_NAME: &'static str[src]

public static final GLOBAL_LOGGER_NAME

pub fn global<'env>(env: &'env Env) -> Option<Local<'env, Logger>>[src]

Deprecated

get public static final global

Required feature: "java-util-logging-Logger"

Methods from Deref<Target = Object>

pub fn getClass<'env>(
    &'env self
) -> Result<Option<Local<'env, Class>>, Local<'env, Throwable>>
[src]

getClass

Required features: "java-lang-Class"

pub fn hashCode<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>[src]

pub fn equals<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Object>>
) -> Result<bool, Local<'env, Throwable>>
[src]

equals

Required features: "java-lang-Object"

pub fn toString<'env>(
    &'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]

toString

Required features: "java-lang-String"

pub fn notify<'env>(&'env self) -> Result<(), Local<'env, Throwable>>[src]

pub fn notifyAll<'env>(&'env self) -> Result<(), Local<'env, Throwable>>[src]

pub fn wait_long<'env>(
    &'env self,
    arg0: i64
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn wait_long_int<'env>(
    &'env self,
    arg0: i64,
    arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn wait<'env>(&'env self) -> Result<(), Local<'env, Throwable>>[src]

Trait Implementations

impl AsJValue for Logger

impl AsValidJObjectAndEnv for Logger

impl Deref for Logger

type Target = Object

The resulting type after dereferencing.

impl JniType for Logger

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

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.