Log.Debug Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Debug(String, String) |
Send a |
Debug(String, Throwable, String) | |
Debug(String, String, Object[]) | |
Debug(String, Throwable, String, Object[]) |
Debug(String, String)
Send a #DEBUG
log message.
[Android.Runtime.Register("d", "(Ljava/lang/String;Ljava/lang/String;)I", "")]
public static int Debug (string? tag, string msg);
[<Android.Runtime.Register("d", "(Ljava/lang/String;Ljava/lang/String;)I", "")>]
static member Debug : string * string -> int
Parameters
- 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
- Attributes
Remarks
Send a #DEBUG
log message.
Java documentation for android.util.Log.d(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
Debug(String, Throwable, String)
public static int Debug (string tag, Java.Lang.Throwable tr, string msg);
static member Debug : string * Java.Lang.Throwable * string -> int
Parameters
- tag
- String
- tr
- Throwable
- 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
Debug(String, String, Object[])
public static int Debug (string tag, string format, params object[] args);
static member Debug : 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
Debug(String, Throwable, String, Object[])
public static int Debug (string tag, Java.Lang.Throwable tr, string format, params object[] args);
static member Debug : string * Java.Lang.Throwable * string * obj[] -> int
Parameters
- tag
- String
- tr
- Throwable
- 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.