Journal
public
class
Log
extends Object
| java.lang.Object | |
| ↳ | com.android.ddmlib.Log |
Résumé
Constructeurs publics | |
|---|---|
Log()
|
|
Méthodes publiques | |
|---|---|
static
void
|
d(String tag, String message)
Génère un message de niveau |
static
void
|
e(String tag, String message)
Génère un message de niveau |
static
void
|
e(String tag, Throwable throwable)
Affiche des informations |
static
void
|
i(String tag, String message)
Génère un message de niveau |
static
void
|
logAndDisplay(Log.LogLevel logLevel, String tag, String message)
|
static
void
|
v(String tag, String message)
Génère un message de niveau |
static
void
|
w(String tag, String message)
Génère un message de niveau |
Constructeurs publics
Journal
public Log ()
Méthodes publiques
d
public static void d (String tag,
String message)Génère un message de niveau LogLevel.DEBUG.
| Paramètres | |
|---|---|
tag |
String : tag associé au message. |
message |
String : message à afficher. |
e
public static void e (String tag,
String message)Génère un message de niveau LogLevel.ERROR.
| Paramètres | |
|---|---|
tag |
String : tag associé au message. |
message |
String : message à afficher. |
e
public static void e (String tag,
Throwable throwable)Affiche des informations Throwable de niveau Throwable.LogLevel.ERROR
| Paramètres | |
|---|---|
tag |
String : tag associé au message. |
throwable |
Throwable : Throwable à afficher. |
i
public static void i (String tag,
String message)Génère un message de niveau LogLevel.INFO.
| Paramètres | |
|---|---|
tag |
String : tag associé au message. |
message |
String : message à afficher. |
logAndDisplay
public static void logAndDisplay (Log.LogLevel logLevel, String tag, String message)
| Paramètres | |
|---|---|
logLevel |
Log.LogLevel |
tag |
String |
message |
String |
v
public static void v (String tag,
String message)Génère un message de niveau LogLevel.VERBOSE.
| Paramètres | |
|---|---|
tag |
String : tag associé au message. |
message |
String : message à afficher. |
w
public static void w (String tag,
String message)Génère un message de niveau LogLevel.WARN.
| Paramètres | |
|---|---|
tag |
String : tag associé au message. |
message |
String : message à afficher. |