public class Logger extends Object
Modifier and Type | Field and Description |
---|---|
static int |
DEBUG
The Constant DEBUG.
|
static int |
ERROR
The Constant ERROR.
|
static int |
FATAL
The Constant FATAL.
|
static int |
INFO
The Constant INFO.
|
static int |
TRACE
The Constant TRACE.
|
static int |
WARN
The Constant WARN.
|
Constructor and Description |
---|
Logger() |
Modifier and Type | Method and Description |
---|---|
static void |
debug(String message)
Debug.
|
static void |
error(String message,
Throwable t)
Error.
|
static void |
fatal(String message,
Throwable t)
Fatal.
|
static void |
info(String message)
Info.
|
static void |
trace(String message)
Trace.
|
static void |
warn(String message)
Warn.
|
static void |
warn(String message,
Throwable t)
Warn.
|
public static final int TRACE
public static final int DEBUG
public static final int INFO
public static final int WARN
public static final int ERROR
public static final int FATAL
public static final void trace(String message)
message
- the messagepublic static final void debug(String message)
message
- the messagepublic static final void info(String message)
message
- the messagepublic static final void warn(String message)
message
- the messagepublic static final void warn(String message, Throwable t)
message
- the messaget
- the tpublic static final void error(String message, Throwable t)
message
- the messaget
- the tAll content is available under the Open Government Licence, except where otherwise stated
All example source code is available under Apache 2.0, except where otherwise stated