public static final class StandaloneLauncher.TextAreaLogger extends Object implements org.apache.commons.logging.Log
| Modifier and Type | Field and Description |
|---|---|
static int |
DEBUG
The DEBUG log-level should be used for fine-grained information useful for debugging an application.
|
static int |
ERROR
The ERROR log-level is used to log application errors where the application can recover.
|
static int |
FATAL
The FATAL log-level is used to log application errors where the application can not recover.
|
static int |
INFO
The INFO log-level is used to output application processing at a course level.
|
static int |
TRACE
The TRACE log-level should be used to output even more fine-grained information than DEBUG.
|
static int |
WARN
The WARN log-level is used to log information about potentially damaging situations.
|
| Constructor and Description |
|---|
StandaloneLauncher.TextAreaLogger(String name)
Creates a TextAreaLogger.
|
| Modifier and Type | Method and Description |
|---|---|
void |
debug(Object message) |
void |
debug(Object message,
Throwable cause) |
void |
error(Object message) |
void |
error(Object message,
Throwable cause) |
void |
fatal(Object message) |
void |
fatal(Object message,
Throwable cause) |
void |
info(Object message) |
void |
info(Object message,
Throwable cause) |
boolean |
isDebugEnabled() |
boolean |
isErrorEnabled() |
boolean |
isFatalEnabled() |
boolean |
isInfoEnabled() |
boolean |
isTraceEnabled() |
boolean |
isWarnEnabled() |
void |
setLogLevel(int level)
Sets the log level.
|
void |
trace(Object message) |
void |
trace(Object message,
Throwable cause) |
void |
warn(Object message) |
void |
warn(Object message,
Throwable cause) |
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 StandaloneLauncher.TextAreaLogger(String name)
name - the logger name.public void setLogLevel(int level)
level - the new log level to set.public void debug(Object message, Throwable cause)
debug in interface org.apache.commons.logging.Logpublic void debug(Object message)
debug in interface org.apache.commons.logging.Logpublic void error(Object message, Throwable cause)
error in interface org.apache.commons.logging.Logpublic void error(Object message)
error in interface org.apache.commons.logging.Logpublic void fatal(Object message, Throwable cause)
fatal in interface org.apache.commons.logging.Logpublic void fatal(Object message)
fatal in interface org.apache.commons.logging.Logpublic void info(Object message, Throwable cause)
info in interface org.apache.commons.logging.Logpublic void info(Object message)
info in interface org.apache.commons.logging.Logpublic void warn(Object message, Throwable cause)
warn in interface org.apache.commons.logging.Logpublic void warn(Object message)
warn in interface org.apache.commons.logging.Logpublic boolean isDebugEnabled()
isDebugEnabled in interface org.apache.commons.logging.Logpublic boolean isErrorEnabled()
isErrorEnabled in interface org.apache.commons.logging.Logpublic boolean isFatalEnabled()
isFatalEnabled in interface org.apache.commons.logging.Logpublic boolean isInfoEnabled()
isInfoEnabled in interface org.apache.commons.logging.Logpublic boolean isWarnEnabled()
isWarnEnabled in interface org.apache.commons.logging.Logpublic boolean isTraceEnabled()
isTraceEnabled in interface org.apache.commons.logging.Logpublic void trace(Object message, Throwable cause)
trace in interface org.apache.commons.logging.Logpublic void trace(Object message)
trace in interface org.apache.commons.logging.LogCopyright © 2016. All rights reserved.