public class Logger extends Object
Modifier and Type | Field and Description |
---|---|
static int |
DEBUG |
static int |
ERROR |
static int |
FATAL |
static int |
INFO |
static int |
TRACE |
static int |
WARN |
Constructor and Description |
---|
Logger() |
Modifier and Type | Method and Description |
---|---|
static void |
debug(Object message,
Object type) |
static void |
error(Object message,
Object type) |
static void |
fatal(Object message,
Object type) |
static void |
info(Object message,
Object type) |
static boolean |
isDebugEnabled() |
static boolean |
isErrorEnabled() |
static boolean |
isFatalEnabled() |
static boolean |
isInfoEnabled() |
static boolean |
isLoggable(int level) |
static boolean |
isTraceEnabled() |
static boolean |
isWarnEnabled() |
static void |
log(int level,
Object message,
Object type) |
static void |
trace(Object message,
Object type) |
static void |
warn(Object message,
Object type) |
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 boolean isTraceEnabled()
public static boolean isDebugEnabled()
public static boolean isInfoEnabled()
public static boolean isWarnEnabled()
public static boolean isErrorEnabled()
public static boolean isFatalEnabled()
public static boolean isLoggable(int level)