Log.Wtf Method

Definition

Overloads

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

What a Terrible Failure: Report an exception that should never happen.

Wtf(String, String)

What a Terrible Failure: Report a condition that should never happen.

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

Wtf(String, String, Object[])

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

Parameters

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

Wtf(String, Throwable)

What a Terrible Failure: Report an exception that should never happen.

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

Parameters

tag
String

Used to identify the source of a log message.

tr
Throwable

An exception to log.

Returns

Attributes

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

Wtf(String, String)

What a Terrible Failure: Report a condition that should never happen.

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

Parameters

tag
String

Used to identify the source of a log message.

msg
String

The message you would like logged.

Returns

Attributes

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

Wtf(String, Throwable, String)

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

Parameters

tag
String
msg
String

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

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

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

Parameters

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