public class Logger
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
DEBUG |
static int |
ERROR |
static int |
INFO |
static int |
WARN |
Constructor and Description |
---|
Logger() |
Modifier and Type | Method and Description |
---|---|
static boolean |
isLoggable(int priority) |
static void |
log(int priority,
java.lang.String message) |
static void |
log(int priority,
java.lang.String message,
java.lang.Throwable tr) |
static java.lang.String |
logMessage(int level,
java.lang.String className,
java.lang.String methodName,
java.lang.String message) |
static java.lang.String |
logMessage(int level,
java.lang.String className,
java.lang.String methodName,
java.lang.String message,
java.lang.Throwable tr) |
static java.lang.String |
makeMessage(java.lang.String className,
java.lang.String methodName,
java.lang.String message) |
public static final int ERROR
public static final int WARN
public static final int INFO
public static final int DEBUG
public static boolean isLoggable(int priority)
public static void log(int priority, java.lang.String message)
public static void log(int priority, java.lang.String message, java.lang.Throwable tr)
public static java.lang.String logMessage(int level, java.lang.String className, java.lang.String methodName, java.lang.String message)
public static java.lang.String logMessage(int level, java.lang.String className, java.lang.String methodName, java.lang.String message, java.lang.Throwable tr)
public static java.lang.String makeMessage(java.lang.String className, java.lang.String methodName, java.lang.String message)