public final class ConsoleLogger extends Logger
Logger.Level| Constructor and Description |
|---|
ConsoleLogger() |
ConsoleLogger(Logger.Level level) |
| Modifier and Type | Method and Description |
|---|---|
void |
log(Logger.Level level,
String tag,
String message,
Throwable exception)
Write a log message to its destination.
|
public ConsoleLogger()
public ConsoleLogger(Logger.Level level)
public void log(@Nonnull Logger.Level level, String tag, String message, @Nullable Throwable exception)
Loggerlog in class Loggerlevel - At which the message was reportedtag - Used to identify the source of the message. See Logger.formatTag().message - That was logged. If an exception was logged, the message will already contain the exception's information.exception - null if no exception was reported