Udostępnij za pośrednictwem


Logger.Exiting Method

Definition

Overloads

Exiting(String, String)

Log a method return.

Exiting(String, String, Object)

Log a method return, with result object.

Exiting(String, String)

Log a method return.

[Android.Runtime.Register("exiting", "(Ljava/lang/String;Ljava/lang/String;)V", "GetExiting_Ljava_lang_String_Ljava_lang_String_Handler")]
public virtual void Exiting (string? sourceClass, string? sourceMethod);
[<Android.Runtime.Register("exiting", "(Ljava/lang/String;Ljava/lang/String;)V", "GetExiting_Ljava_lang_String_Ljava_lang_String_Handler")>]
abstract member Exiting : string * string -> unit
override this.Exiting : string * string -> unit

Parameters

sourceClass
String

name of class that issued the logging request

sourceMethod
String

name of the method

Attributes

Remarks

Log a method return.

This is a convenience method that can be used to log returning from a method. A LogRecord with message "RETURN", log level FINER, and the given sourceMethod and sourceClass is logged.

Java documentation for java.util.logging.Logger.exiting(java.lang.String, java.lang.String).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

Exiting(String, String, Object)

Log a method return, with result object.

[Android.Runtime.Register("exiting", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Object;)V", "GetExiting_Ljava_lang_String_Ljava_lang_String_Ljava_lang_Object_Handler")]
public virtual void Exiting (string? sourceClass, string? sourceMethod, Java.Lang.Object? result);
[<Android.Runtime.Register("exiting", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Object;)V", "GetExiting_Ljava_lang_String_Ljava_lang_String_Ljava_lang_Object_Handler")>]
abstract member Exiting : string * string * Java.Lang.Object -> unit
override this.Exiting : string * string * Java.Lang.Object -> unit

Parameters

sourceClass
String

name of class that issued the logging request

sourceMethod
String

name of the method

result
Object

Object that is being returned

Attributes

Remarks

Log a method return, with result object.

This is a convenience method that can be used to log returning from a method. A LogRecord with message "RETURN {0}", log level FINER, and the gives sourceMethod, sourceClass, and result object is logged.

Java documentation for java.util.logging.Logger.exiting(java.lang.String, java.lang.String, java.lang.Object).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to