Lenguaje

Log.Debug Método

Definición

Sobrecargas

Nombre Description
Debug(String, String)

Enviar un #DEBUG mensaje de registro.

Debug(String, Throwable, String)

Envía un Debug mensaje de registro con un asociado Throwable.

Debug(String, String, Object[])

Envía un Debug mensaje de registro mediante una cadena de formato compuesto.

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

Envía un Debug mensaje de registro mediante una cadena de formato compuesto, con un asociado Throwable.

Debug(String, String)

Enviar un #DEBUG mensaje de registro.

[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

Parámetros

tag
String

Se usa para identificar el origen de un mensaje de registro. Normalmente identifica la clase o actividad donde se produce la llamada de registro.

msg
String

Mensaje que desea registrar.

Devoluciones

Valor positivo si el mensaje se ha agregado (vea #isLoggable).

Atributos

Comentarios

Enviar un #DEBUG mensaje de registro.

Java documentación para android.util.Log.d(java.lang.String, java.lang.String).

Las partes de esta página son modificaciones basadas en el trabajo creado y compartido por el Android y se usan según los términos descritos en creative Creative Commons 2.5 Attribution License.

Se aplica a

Debug(String, Throwable, String)

Envía un Debug mensaje de registro con un asociado Throwable.

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

Parámetros

tag
String

Se usa para identificar el origen de un mensaje de registro.

tr
Throwable

Excepción al registro.

msg
String

Mensaje que se va a registrar.

Devoluciones

El número de bytes escritos.

Comentarios

Las partes de esta página son modificaciones basadas en el trabajo creado y compartido por el Android y se usan según los términos descritos en creative Creative Commons 2.5 Attribution License.

Se aplica a

Debug(String, String, Object[])

Envía un Debug mensaje de registro mediante una cadena de formato compuesto.

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

Parámetros

tag
String

Se usa para identificar el origen de un mensaje de registro.

format
String

Cadena de formato compuesto.

args
Object[]

Matriz de objetos que contiene cero o más objetos a los que se va a dar formato.

Devoluciones

El número de bytes escritos.

Comentarios

Las partes de esta página son modificaciones basadas en el trabajo creado y compartido por el Android y se usan según los términos descritos en creative Creative Commons 2.5 Attribution License.

Se aplica a

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

Envía un Debug mensaje de registro mediante una cadena de formato compuesto, con un asociado Throwable.

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

Parámetros

tag
String

Se usa para identificar el origen de un mensaje de registro.

tr
Throwable

Excepción al registro.

format
String

Cadena de formato compuesto.

args
Object[]

Matriz de objetos que contiene cero o más objetos a los que se va a dar formato.

Devoluciones

El número de bytes escritos.

Comentarios

Las partes de esta página son modificaciones basadas en el trabajo creado y compartido por el Android y se usan según los términos descritos en creative Creative Commons 2.5 Attribution License.

Se aplica a