public class Logger extends Object
Application logging facilities to output messages. The log level set with
Application.setLogLevel(int) overrides the log level set here.| Modifier and Type | Field and Description |
|---|---|
static int |
DEBUG |
static int |
ERROR |
static int |
INFO |
static int |
NONE |
| Constructor and Description |
|---|
Logger(String tag) |
Logger(String tag,
int level) |
| Modifier and Type | Method and Description |
|---|---|
void |
debug(String message) |
void |
debug(String message,
Exception exception) |
void |
error(String message) |
void |
error(String message,
Throwable exception) |
int |
getLevel() |
void |
info(String message) |
void |
info(String message,
Exception exception) |
void |
setLevel(int level)
Sets the log level.
|
public static final int NONE
public static final int ERROR
public static final int INFO
public static final int DEBUG
Copyright © 2021. All rights reserved.