다음을 통해 공유


Logger.Fine Method

Definition

Overloads

Fine(ISupplier)

Log a FINE message, which is only to be constructed if the logging level is such that the message will actually be logged.

Fine(String)

Log a FINE message.

Fine(ISupplier)

Log a FINE message, which is only to be constructed if the logging level is such that the message will actually be logged.

[Android.Runtime.Register("fine", "(Ljava/util/function/Supplier;)V", "GetFine_Ljava_util_function_Supplier_Handler", ApiSince=26)]
public virtual void Fine (Java.Util.Functions.ISupplier msgSupplier);
[<Android.Runtime.Register("fine", "(Ljava/util/function/Supplier;)V", "GetFine_Ljava_util_function_Supplier_Handler", ApiSince=26)>]
abstract member Fine : Java.Util.Functions.ISupplier -> unit
override this.Fine : Java.Util.Functions.ISupplier -> unit

Parameters

msgSupplier
ISupplier

A function, which when called, produces the desired log message

Attributes

Remarks

Log a FINE message, which is only to be constructed if the logging level is such that the message will actually be logged.

If the logger is currently enabled for the FINE message level then the message is constructed by invoking the provided supplier function and forwarded to all the registered output Handler objects.

Added in 1.8.

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

Fine(String)

Log a FINE message.

[Android.Runtime.Register("fine", "(Ljava/lang/String;)V", "GetFine_Ljava_lang_String_Handler")]
public virtual void Fine (string? msg);
[<Android.Runtime.Register("fine", "(Ljava/lang/String;)V", "GetFine_Ljava_lang_String_Handler")>]
abstract member Fine : string -> unit
override this.Fine : string -> unit

Parameters

msg
String

The string message (or a key in the message catalog)

Attributes

Remarks

Log a FINE message.

If the logger is currently enabled for the FINE message level then the given message is forwarded to all the registered output Handler objects.

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