Log

public class Log
extends Object

java.lang.Object
   ↳ com.android.ddmlib.Log


Riepilogo

Costruttori pubblici

Log()

Metodi pubblici

static void d(String tag, String message)

Restituisce un messaggio di livello LogLevel.DEBUG.

static void e(String tag, String message)

Restituisce un messaggio di livello LogLevel.ERROR.

static void e(String tag, Throwable throwable)

Restituisce informazioni sul livello LogLevel.ERROR Throwable.

static void i(String tag, String message)

Restituisce un messaggio di livello LogLevel.INFO.

static void logAndDisplay(Log.LogLevel logLevel, String tag, String message)
static void v(String tag, String message)

Restituisce un messaggio di livello LogLevel.VERBOSE.

static void w(String tag, String message)

Restituisce un messaggio di livello LogLevel.WARN.

Costruttori pubblici

Log

public Log ()

Metodi pubblici

g

public static void d (String tag, 
                String message)

Restituisce un messaggio di livello LogLevel.DEBUG.

Parametri
tag String: Il tag associato al messaggio.

message String: il messaggio da restituire.

e

public static void e (String tag, 
                String message)

Restituisce un messaggio di livello LogLevel.ERROR.

Parametri
tag String: Il tag associato al messaggio.

message String: il messaggio da restituire.

e

public static void e (String tag, 
                Throwable throwable)

Restituisce informazioni sul livello LogLevel.ERROR Throwable.

Parametri
tag String: Il tag associato al messaggio.

throwable Throwable: il Throwable da restituire.

i

public static void i (String tag, 
                String message)

Restituisce un messaggio di livello LogLevel.INFO.

Parametri
tag String: Il tag associato al messaggio.

message String: il messaggio da restituire.

logAndDisplay

public static void logAndDisplay (Log.LogLevel logLevel, 
                String tag, 
                String message)

Parametri
logLevel Log.LogLevel

tag String

message String

v

public static void v (String tag, 
                String message)

Restituisce un messaggio di livello LogLevel.VERBOSE.

Parametri
tag String: Il tag associato al messaggio.

message String: il messaggio da restituire.

w

public static void w (String tag, 
                String message)

Restituisce un messaggio di livello LogLevel.WARN.

Parametri
tag String: Il tag associato al messaggio.

message String: il messaggio da restituire.