Dziennik

public class Log
extends Object

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


Podsumowanie

Publiczne konstruktory

Log()

Metody publiczne

static void d(String tag, String message)

Wyświetla komunikat na poziomie LogLevel.DEBUG.

static void e(String tag, String message)

Wyświetla komunikat na poziomie LogLevel.ERROR.

static void e(String tag, Throwable throwable)

Zwraca informacje o poziomie LogLevel.ERROR Throwable.

static void i(String tag, String message)

Wyświetla komunikat na poziomie LogLevel.INFO.

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

Wyświetla komunikat na poziomie LogLevel.VERBOSE.

static void w(String tag, String message)

Wyświetla komunikat na poziomie LogLevel.WARN.

Publiczne konstruktory

Dziennik

public Log ()

Metody publiczne

d

public static void d (String tag, 
                String message)

Wyświetla komunikat na poziomie LogLevel.DEBUG.

Parametry
tag String: tag powiązany z wiadomością.

message String: wiadomość do wyświetlenia.

e

public static void e (String tag, 
                String message)

Wyświetla komunikat na poziomie LogLevel.ERROR.

Parametry
tag String: tag powiązany z wiadomością.

message String: wiadomość do wyświetlenia.

e

public static void e (String tag, 
                Throwable throwable)

Zwraca informacje o poziomie LogLevel.ERROR Throwable.

Parametry
tag String: tag powiązany z wiadomością.

throwable Throwable: Throwable do wygenerowania.

I

public static void i (String tag, 
                String message)

Wyświetla komunikat na poziomie LogLevel.INFO.

Parametry
tag String: tag powiązany z wiadomością.

message String: wiadomość do wyświetlenia.

logAndDisplay

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

Parametry
logLevel Log.LogLevel

tag String

message String

v

public static void v (String tag, 
                String message)

Wyświetla komunikat na poziomie LogLevel.VERBOSE.

Parametry
tag String: tag powiązany z wiadomością.

message String: wiadomość do wyświetlenia.

w

public static void w (String tag, 
                String message)

Wyświetla komunikat na poziomie LogLevel.WARN.

Parametry
tag String: tag powiązany z wiadomością.

message String: wiadomość do wyświetlenia.