| Modifier and Type | Method and Description |
|---|---|
static Level |
Level.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Level[] |
Level.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static int |
Level.compare(Level l1,
Level l2)
Compare two levels.
|
protected String |
Tree.formatLine(Level level,
String tag,
String message) |
protected boolean |
Tree.isLoggeable(Level level)
Return whether a message at
level should be logged. |
protected boolean |
FileTree.isLoggeable(Level level) |
protected boolean |
DebugTree.isLoggeable(Level level) |
void |
Tree.log(Level level,
String message,
Object... args)
Log at
level a message with optional format args. |
static void |
Timber.log(Level level,
String message,
Object... args)
Log at
priority a message with optional format args. |
protected abstract void |
Tree.log(Level level,
String tag,
String message,
Throwable t)
Write a log message to its destination.
|
protected void |
FileTree.log(Level level,
String tag,
String message,
Throwable t) |
protected void |
DebugTree.log(Level level,
String tag,
String message,
Throwable t)
|
void |
Tree.log(Level level,
Throwable t,
String message,
Object... args)
Log at
level an exception and a message with optional format args. |
static void |
Timber.log(Level level,
Throwable throwable,
String message,
Object... args)
Log at
level an exception and a message with optional format args. |
protected void |
Tree.prepareLog(Level level,
Throwable t,
String message,
Object... args) |
| Constructor and Description |
|---|
DebugTree(Level level)
Create a DebugTree with minimum level set to
level. |
FileTree(Level level,
File logFile)
Create a new FileTree instance.
|
FileTree(Level level,
File logFile,
boolean append)
Create a new FileTree instance.
|
Copyright © 2016. All rights reserved.