Compartilhar via


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);
[<Android.Runtime.Register("getStackTraceString", "(Ljava/lang/Throwable;)Ljava/lang/String;", "")>]
static member GetStackTraceString : Java.Lang.Throwable -> string

Parameters

tr
Throwable

An exception to log

Returns

Attributes

Remarks

Handy function to get a loggable stack trace from a Throwable

Java documentation for android.util.Log.getStackTraceString(java.lang.Throwable).

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