-
public class Timber.Forest extends Timber.Tree
-
-
Field Summary
Fields Modifier and Type Field Description private final IntegertreeCountpublic final static Timber.ForestINSTANCE
-
Method Summary
Modifier and Type Method Description Unitv(@NonNls() String message, Object args)Log a verbose message with optional format args. Unitv(Throwable t, @NonNls() String message, Object args)Log a verbose exception and a message with optional format args. Unitv(Throwable t)Log a verbose exception. Unitd(@NonNls() String message, Object args)Log a debug message with optional format args. Unitd(Throwable t, @NonNls() String message, Object args)Log a debug exception and a message with optional format args. Unitd(Throwable t)Log a debug exception. Uniti(@NonNls() String message, Object args)Log an info message with optional format args. Uniti(Throwable t, @NonNls() String message, Object args)Log an info exception and a message with optional format args. Uniti(Throwable t)Log an info exception. Unitw(@NonNls() String message, Object args)Log a warning message with optional format args. Unitw(Throwable t, @NonNls() String message, Object args)Log a warning exception and a message with optional format args. Unitw(Throwable t)Log a warning exception. Unite(@NonNls() String message, Object args)Log an error message with optional format args. Unite(Throwable t, @NonNls() String message, Object args)Log an error exception and a message with optional format args. Unite(Throwable t)Log an error exception. Unitwtf(@NonNls() String message, Object args)Log an assert message with optional format args. Unitwtf(Throwable t, @NonNls() String message, Object args)Log an assert exception and a message with optional format args. Unitwtf(Throwable t)Log an assert exception. Unitlog(Integer priority, @NonNls() String message, Object args)Log at prioritya message with optional format args.Unitlog(Integer priority, Throwable t, @NonNls() String message, Object args)Log at priorityan exception and a message with optional format args.Unitlog(Integer priority, Throwable t)Log at priorityan exception.Timber.TreeasTree()A view into Timber's planted trees as a tree itself. final Timber.Treetag(String tag)Set a one-time tag for use on the next logging call. final Unitplant(Timber.Tree tree)Add a new logging tree. final Unitplant(Timber.Tree trees)Adds new logging trees. final Unituproot(Timber.Tree tree)Remove a planted tree. final UnituprootAll()Remove all planted trees. final List<Timber.Tree>forest()Return a copy of all planted trees. final IntegertreeCount()-
-
Method Detail
-
v
Unit v(Throwable t, @NonNls() String message, Object args)
Log a verbose exception and a message with optional format args.
-
d
Unit d(Throwable t, @NonNls() String message, Object args)
Log a debug exception and a message with optional format args.
-
i
Unit i(Throwable t, @NonNls() String message, Object args)
Log an info exception and a message with optional format args.
-
w
Unit w(Throwable t, @NonNls() String message, Object args)
Log a warning exception and a message with optional format args.
-
e
Unit e(Throwable t, @NonNls() String message, Object args)
Log an error exception and a message with optional format args.
-
wtf
Unit wtf(@NonNls() String message, Object args)
Log an assert message with optional format args.
-
wtf
Unit wtf(Throwable t, @NonNls() String message, Object args)
Log an assert exception and a message with optional format args.
-
log
Unit log(Integer priority, @NonNls() String message, Object args)
Log at
prioritya message with optional format args.
-
log
Unit log(Integer priority, Throwable t, @NonNls() String message, Object args)
Log at
priorityan exception and a message with optional format args.
-
asTree
Timber.Tree asTree()
A view into Timber's planted trees as a tree itself. This can be used for injecting a logger instance rather than using static methods or to facilitate testing.
-
tag
final Timber.Tree tag(String tag)
Set a one-time tag for use on the next logging call.
-
plant
final Unit plant(Timber.Tree tree)
Add a new logging tree.
-
plant
final Unit plant(Timber.Tree trees)
Adds new logging trees.
-
uproot
final Unit uproot(Timber.Tree tree)
Remove a planted tree.
-
forest
final List<Timber.Tree> forest()
Return a copy of all planted trees.
-
-
-
-