public class Log
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
DEBUG |
static int |
ERROR |
static int |
INFO |
static int |
VERBOSE |
static int |
VERYVERBOSE |
static int |
WARN |
Constructor and Description |
---|
Log() |
Modifier and Type | Method and Description |
---|---|
static void |
d(java.lang.Object msg)
Logs a message at DEBUG level
|
static void |
d(java.lang.Object msg,
java.lang.Throwable t)
Logs a message at DEBUG level
|
static void |
e(java.lang.Object msg)
Logs a message at ERROR level
|
static void |
e(java.lang.Object msg,
java.lang.Throwable t)
Logs a message at ERROR level
|
static void |
i(java.lang.Object msg)
Logs a message at INFO level
|
static void |
i(java.lang.Object msg,
java.lang.Throwable t)
Logs a message at INFO level
|
static boolean |
isLoggable(int level)
Check if Logging is enabled for a given level
|
static void |
v(java.lang.Object msg)
Logs a message at VERBOSE or FINE level.
|
static void |
v(java.lang.Object msg,
java.lang.Throwable t)
Logs a message at VERBOSE or FINE level.
|
static void |
vv(java.lang.Object msg)
Logs a message at VERY VERBOSE or VERY FINE level.
|
static void |
vv(java.lang.Object msg,
java.lang.Throwable t)
Logs a message at VERY VERBOSE or VERY FINE level.
|
static void |
w(java.lang.Object msg)
Logs a message at WARN level
|
static void |
w(java.lang.Object msg,
java.lang.Throwable t)
Logs a message at WARN level
|
public static final int VERYVERBOSE
public static final int VERBOSE
public static final int DEBUG
public static final int INFO
public static final int WARN
public static final int ERROR
public static boolean isLoggable(int level)
level
- public static void d(java.lang.Object msg, java.lang.Throwable t)
msg
- t
- public static void d(java.lang.Object msg)
msg
- public static void i(java.lang.Object msg, java.lang.Throwable t)
msg
- t
- public static void i(java.lang.Object msg)
msg
- public static void e(java.lang.Object msg, java.lang.Throwable t)
msg
- t
- public static void e(java.lang.Object msg)
msg
- public static void w(java.lang.Object msg, java.lang.Throwable t)
msg
- t
- public static void w(java.lang.Object msg)
msg
- public static void v(java.lang.Object msg, java.lang.Throwable t)
msg
- t
- public static void v(java.lang.Object msg)
msg
- public static void vv(java.lang.Object msg, java.lang.Throwable t)
msg
- t
- public static void vv(java.lang.Object msg)
msg
-