public final class Timber
extends java.lang.Object
限定符和类型 | 类和说明 |
---|---|
static class |
Timber.DebugTree
A
Timber.Tree for debug builds. |
static class |
Timber.HollowTree
A
Timber.Tree which does nothing. |
static interface |
Timber.TaggedTree
A facade for attaching tags to logging calls.
|
static interface |
Timber.Tree
A facade for handling logging calls.
|
限定符和类型 | 方法和说明 |
---|---|
static void |
d(java.lang.String message,
java.lang.Object... args)
Log a debug message with optional format args.
|
static void |
d(java.lang.Throwable t,
java.lang.String message,
java.lang.Object... args)
Log a debug exception and a message with optional format args.
|
static void |
e(java.lang.String message,
java.lang.Object... args)
Log an error message with optional format args.
|
static void |
e(java.lang.Throwable t,
java.lang.String message,
java.lang.Object... args)
Log an error exception and a message with optional format args.
|
static void |
i(java.lang.String message,
java.lang.Object... args)
Log an info message with optional format args.
|
static void |
i(java.lang.Throwable t,
java.lang.String message,
java.lang.Object... args)
Log an info exception and a message with optional format args.
|
static void |
plant(Timber.Tree tree)
Add a new logging tree.
|
static Timber.Tree |
tag(java.lang.String tag)
Set a one-time tag for use on the next logging call.
|
static void |
uproot(Timber.Tree tree)
Remove a planted tree.
|
static void |
uprootAll()
Remove all planted trees.
|
static void |
v(java.lang.String message,
java.lang.Object... args)
Log a verbose message with optional format args.
|
static void |
v(java.lang.Throwable t,
java.lang.String message,
java.lang.Object... args)
Log a verbose exception and a message with optional format args.
|
static void |
w(java.lang.String message,
java.lang.Object... args)
Log a warning message with optional format args.
|
static void |
w(java.lang.Throwable t,
java.lang.String message,
java.lang.Object... args)
Log a warning exception and a message with optional format args.
|
public static void v(java.lang.String message, java.lang.Object... args)
public static void v(java.lang.Throwable t, java.lang.String message, java.lang.Object... args)
public static void d(java.lang.String message, java.lang.Object... args)
public static void d(java.lang.Throwable t, java.lang.String message, java.lang.Object... args)
public static void i(java.lang.String message, java.lang.Object... args)
public static void i(java.lang.Throwable t, java.lang.String message, java.lang.Object... args)
public static void w(java.lang.String message, java.lang.Object... args)
public static void w(java.lang.Throwable t, java.lang.String message, java.lang.Object... args)
public static void e(java.lang.String message, java.lang.Object... args)
public static void e(java.lang.Throwable t, java.lang.String message, java.lang.Object... args)
public static Timber.Tree tag(java.lang.String tag)
public static void plant(Timber.Tree tree)
public static void uproot(Timber.Tree tree)
public static void uprootAll()