다음을 통해 공유


Logger.Entering Method

Definition

Overloads

Entering(String, String)

Log a method entry.

Entering(String, String, Object)

Log a method entry, with one parameter.

Entering(String, String, Object[])

Log a method entry, with an array of parameters.

Entering(String, String)

Log a method entry.

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

Parameters

sourceClass
String

name of class that issued the logging request

sourceMethod
String

name of method that is being entered

Attributes

Remarks

Log a method entry.

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

Java documentation for java.util.logging.Logger.entering(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

Entering(String, String, Object)

Log a method entry, with one parameter.

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

Parameters

sourceClass
String

name of class that issued the logging request

sourceMethod
String

name of method that is being entered

param1
Object

parameter to the method being entered

Attributes

Remarks

Log a method entry, with one parameter.

This is a convenience method that can be used to log entry to a method. A LogRecord with message "ENTRY {0}", log level FINER, and the given sourceMethod, sourceClass, and parameter is logged.

Java documentation for java.util.logging.Logger.entering(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

Entering(String, String, Object[])

Log a method entry, with an array of parameters.

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

Parameters

sourceClass
String

name of class that issued the logging request

sourceMethod
String

name of method that is being entered

params
Object[]

array of parameters to the method being entered

Attributes

Remarks

Log a method entry, with an array of parameters.

This is a convenience method that can be used to log entry to a method. A LogRecord with message "ENTRY" (followed by a format {N} indicator for each entry in the parameter array), log level FINER, and the given sourceMethod, sourceClass, and parameters is logged.

Java documentation for java.util.logging.Logger.entering(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