public class Logger extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_LOGGING_CONFIGURATION |
| Modifier and Type | Method and Description |
|---|---|
static void |
configure() |
static void |
configure(InputStream configIS) |
void |
debug(String msg)
Write a log message for debug.
|
void |
debug(String msg,
Throwable e) |
void |
fatal(String msg)
Write a log message for serious situation.
|
void |
fatal(String msg,
Throwable e) |
static Logger |
getLogger(Class clazz) |
void |
info(String msg)
Write a log message for informational messages.
|
boolean |
isDebugEnabled() |
boolean |
isMethodTracingEnabled() |
static void |
setConfigPropertyName(String name) |
void |
warning(String msg)
Write a log message notifying a potential problem.
|
void |
warning(String msg,
Throwable e) |
public static final String DEFAULT_LOGGING_CONFIGURATION
public static void setConfigPropertyName(String name)
name - public static void configure(InputStream configIS) throws Exception
configIS - Exceptionpublic final boolean isDebugEnabled()
public final boolean isMethodTracingEnabled()
public void fatal(String msg)
msg - public void warning(String msg)
msg - public void info(String msg)
msg - public void debug(String msg)
msg -