public final class Timber extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Timber.DebugTree
A
Tree for debug builds. |
static class |
Timber.Tree
A facade for handling logging calls.
|
Modifier and Type | Method and Description |
---|---|
static Timber.Tree |
asTree()
A view into Timber's planted trees as a tree itself.
|
static void |
d(String message,
Object... args)
Log a debug message with optional format args.
|
static void |
d(Throwable t,
String message,
Object... args)
Log a debug exception and a message with optional format args.
|
static void |
e(String message,
Object... args)
Log an error message with optional format args.
|
static void |
e(Throwable t,
String message,
Object... args)
Log an error exception and a message with optional format args.
|
static void |
i(String message,
Object... args)
Log an info message with optional format args.
|
static void |
i(Throwable t,
String message,
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(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(String message,
Object... args)
Log a verbose message with optional format args.
|
static void |
v(Throwable t,
String message,
Object... args)
Log a verbose exception and a message with optional format args.
|
static void |
w(String message,
Object... args)
Log a warning message with optional format args.
|
static void |
w(Throwable t,
String message,
Object... args)
Log a warning exception and a message with optional format args.
|
static void |
wtf(String message,
Object... args)
Log an assert message with optional format args.
|
static void |
wtf(Throwable t,
String message,
Object... args)
Log an assert exception and a message with optional format args.
|
public static void v(String message, Object... args)
public static void v(Throwable t, String message, Object... args)
public static void d(String message, Object... args)
public static void d(Throwable t, String message, Object... args)
public static void i(String message, Object... args)
public static void i(Throwable t, String message, Object... args)
public static void w(String message, Object... args)
public static void w(Throwable t, String message, Object... args)
public static void e(String message, Object... args)
public static void e(Throwable t, String message, Object... args)
public static void wtf(String message, Object... args)
public static void wtf(Throwable t, String message, Object... args)
public static Timber.Tree asTree()
public static Timber.Tree tag(String tag)
public static void plant(Timber.Tree tree)
public static void uproot(Timber.Tree tree)
public static void uprootAll()
Copyright © 2013-2015. All Rights Reserved.