Lingua

Log.Info Method

Definition

Overloads

Name Description
Info(String, String)

Send an #INFO log message.

Info(String, Throwable, String)

Sends a Info log message with an associated Throwable.

Info(String, String, Object[])

Sends a Info log message using a composite format string.

Info(String, Throwable, String, Object[])

Sends a Info log message using a composite format string, with an associated Throwable.

Info(String, String)

Send an #INFO log message.

[Android.Runtime.Register("i", "(Ljava/lang/String;Ljava/lang/String;)I", "")]
public static int Info(string? tag, string msg);
[<Android.Runtime.Register("i", "(Ljava/lang/String;Ljava/lang/String;)I", "")>]
static member Info : string * string -> int

Parameters

tag
String

Used to identify the source of a log message. It usually identifies the class or activity where the log call occurs.

msg
String

The message you would like logged.

Returns

A positive value if the message was loggable (see #isLoggable).

Attributes

Remarks

Send an #INFO log message.

Java documentation for android.util.Log.i(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

Info(String, Throwable, String)

Sends a Info log message with an associated Throwable.

public static int Info(string tag, Java.Lang.Throwable tr, string msg);
static member Info : string * Java.Lang.Throwable * string -> int

Parameters

tag
String

Used to identify the source of a log message.

tr
Throwable

An exception to log.

msg
String

The message to log.

Returns

The number of bytes written.

Remarks

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, String, Object[])

Sends a Info log message using a composite format string.

public static int Info(string tag, string format, params object[] args);
static member Info : string * string * obj[] -> int

Parameters

tag
String

Used to identify the source of a log message.

format
String

A composite format string.

args
Object[]

An object array that contains zero or more objects to format.

Returns

The number of bytes written.

Remarks

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, Throwable, String, Object[])

Sends a Info log message using a composite format string, with an associated Throwable.

public static int Info(string tag, Java.Lang.Throwable tr, string format, params object[] args);
static member Info : string * Java.Lang.Throwable * string * obj[] -> int

Parameters

tag
String

Used to identify the source of a log message.

tr
Throwable

An exception to log.

format
String

A composite format string.

args
Object[]

An object array that contains zero or more objects to format.

Returns

The number of bytes written.

Remarks

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