Log.Warn Log.Warn Method

Definition

Overloads

Warn(String, Throwable) Warn(String, Throwable)
Warn(String, String) Warn(String, String)

Android.Util.Log.WARN

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

Warn(String, Throwable) Warn(String, Throwable)

[Android.Runtime.Register("w", "(Ljava/lang/String;Ljava/lang/Throwable;)I", "")]
public static int Warn (string tag, Java.Lang.Throwable tr);
static member Warn : string * Java.Lang.Throwable -> int

Parameters

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.

Warn(String, String) Warn(String, String)

Android.Util.Log.WARN

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

Parameters

tag
String String

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

msg
String String

The message you would like logged.

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.

Warn(String, Throwable, String) Warn(String, Throwable, String)

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

Parameters

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.

Warn(String, String, Object[]) Warn(String, String, Object[])

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

Parameters

format
String 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.

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

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

Parameters

format
String 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