Udostępnij za pośrednictwem


Log.WriteLine Method

Definition

Overloads

WriteLine(LogPriority, String, String)

Low-level logging call.

WriteLine(LogPriority, String, String, Object[])

WriteLine(LogPriority, String, String)

Low-level logging call.

[Android.Runtime.Register("println", "(ILjava/lang/String;Ljava/lang/String;)I", "")]
public static int WriteLine (Android.Util.LogPriority priority, string? tag, string msg);
[<Android.Runtime.Register("println", "(ILjava/lang/String;Ljava/lang/String;)I", "")>]
static member WriteLine : Android.Util.LogPriority * string * string -> int

Parameters

priority
LogPriority

The priority/type of this log message

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

The number of bytes written.

Attributes

Remarks

Low-level logging call.

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

WriteLine(LogPriority, String, String, Object[])

public static int WriteLine (Android.Util.LogPriority priority, string tag, string format, params object[] args);
static member WriteLine : Android.Util.LogPriority * string * string * obj[] -> int

Parameters

priority
LogPriority
tag
String
format
String
args
Object[]

Returns

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