Log.GetStackTraceString(Throwable) Log.GetStackTraceString(Throwable) Method

Definition

Handy function to get a loggable stack trace from a Throwable

[Android.Runtime.Register("getStackTraceString", "(Ljava/lang/Throwable;)Ljava/lang/String;", "")]
public static string GetStackTraceString (Java.Lang.Throwable tr);
static member GetStackTraceString : Java.Lang.Throwable -> string

Parameters

tr
Throwable Throwable

An exception to log

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