public unsafe void SetLogLevel(global::Com.Microsoft.Identity.Common.Internal.Logging.Logger.LogLevel logLevel) { const string __id = "setLogLevel.(Lcom/microsoft/identity/common/internal/logging/Logger$LogLevel;)V"; try { JniArgumentValue *__args = stackalloc JniArgumentValue [1]; __args [0] = new JniArgumentValue((logLevel == null) ? IntPtr.Zero : ((global::Java.Lang.Object)logLevel).Handle); _members.InstanceMethods.InvokeAbstractVoidMethod(__id, this, __args); } finally { global::System.GC.KeepAlive(logLevel); } }
public unsafe void Log(string p0, global::Com.Microsoft.Identity.Common.Internal.Logging.Logger.LogLevel p1, string p2, bool p3) { if (id_log_Ljava_lang_String_Lcom_microsoft_identity_common_internal_logging_Logger_LogLevel_Ljava_lang_String_Z == IntPtr.Zero) { id_log_Ljava_lang_String_Lcom_microsoft_identity_common_internal_logging_Logger_LogLevel_Ljava_lang_String_Z = JNIEnv.GetMethodID(class_ref, "log", "(Ljava/lang/String;Lcom/microsoft/identity/common/internal/logging/Logger$LogLevel;Ljava/lang/String;Z)V"); } IntPtr native_p0 = JNIEnv.NewString(p0); IntPtr native_p2 = JNIEnv.NewString(p2); JValue *__args = stackalloc JValue [4]; __args [0] = new JValue(native_p0); __args [1] = new JValue((p1 == null) ? IntPtr.Zero : ((global::Java.Lang.Object)p1).Handle); __args [2] = new JValue(native_p2); __args [3] = new JValue(p3); JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_log_Ljava_lang_String_Lcom_microsoft_identity_common_internal_logging_Logger_LogLevel_Ljava_lang_String_Z, __args); JNIEnv.DeleteLocalRef(native_p0); JNIEnv.DeleteLocalRef(native_p2); }