Logger.Info Method

Definition

Overloads

Info(ISupplier)

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

Info(String)

Log an INFO message.

Info(ISupplier)

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

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

Parameters

msgSupplier
ISupplier

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

Attributes

Remarks

Log a INFO 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 INFO 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.info(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

Info(String)

Log an INFO message.

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

Parameters

msg
String

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

Attributes

Remarks

Log an INFO message.

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

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