|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.modeshape.common.util.Logger
org.modeshape.common.util.log.JdkLoggerImpl
public class JdkLoggerImpl

Logger that delivers messages to a JDK logger
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.modeshape.common.util.Logger |
|---|
Logger.Level |
| Field Summary |
|---|
| Fields inherited from class org.modeshape.common.util.Logger |
|---|
LOGGING_LOCALE |
| Constructor Summary | |
|---|---|
JdkLoggerImpl(String category)
|
|
| Method Summary | |
|---|---|
void |
debug(String message,
Object... params)
Log a message at the DEBUG level according to the specified format and (optional) parameters. |
void |
debug(Throwable t,
String message,
Object... params)
Log an exception (throwable) at the DEBUG level with an accompanying message. |
void |
error(I18n message,
Object... params)
Log a message at the ERROR level according to the specified format and (optional) parameters. |
void |
error(Throwable t,
I18n message,
Object... params)
Log an exception (throwable) at the ERROR level with an accompanying message. |
String |
getName()
Return the name of this logger instance. |
void |
info(I18n message,
Object... params)
Log a message at the INFO level according to the specified format and (optional) parameters. |
void |
info(Throwable t,
I18n message,
Object... params)
Log an exception (throwable) at the INFO level with an accompanying message. |
boolean |
isDebugEnabled()
Return whether messages at the DEBUG level are being logged. |
boolean |
isErrorEnabled()
Return whether messages at the ERROR level are being logged. |
boolean |
isInfoEnabled()
Return whether messages at the INFORMATION level are being logged. |
boolean |
isTraceEnabled()
Return whether messages at the TRACE level are being logged. |
boolean |
isWarnEnabled()
Return whether messages at the WARNING level are being logged. |
void |
trace(String message,
Object... params)
Log a message at the TRACE level according to the specified format and (optional) parameters. |
void |
trace(Throwable t,
String message,
Object... params)
Log an exception (throwable) at the TRACE level with an accompanying message. |
void |
warn(I18n message,
Object... params)
Log a message at the WARNING level according to the specified format and (optional) parameters. |
void |
warn(Throwable t,
I18n message,
Object... params)
Log an exception (throwable) at the WARNING level with an accompanying message. |
| Methods inherited from class org.modeshape.common.util.Logger |
|---|
getLevel, getLogger, getLogger, getLoggingLocale, log, log, setLoggingLocale |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JdkLoggerImpl(String category)
| Method Detail |
|---|
public String getName()
Logger
getName in class Loggerpublic boolean isTraceEnabled()
Logger
isTraceEnabled in class Loggerpublic boolean isDebugEnabled()
Logger
isDebugEnabled in class Loggerpublic boolean isInfoEnabled()
Logger
isInfoEnabled in class Loggerpublic boolean isWarnEnabled()
Logger
isWarnEnabled in class Loggerpublic boolean isErrorEnabled()
Logger
isErrorEnabled in class Logger
public void debug(String message,
Object... params)
Logger
debug in class Loggermessage - the message stringparams - the parameter values that are to replace the variables in the format string
public void debug(Throwable t,
String message,
Object... params)
LoggerLogger.debug(String, Object...).
debug in class Loggert - the exception (throwable) to logmessage - the message accompanying the exceptionparams - the parameter values that are to replace the variables in the format string
public void error(I18n message,
Object... params)
Logger
error in class Loggermessage - the message stringparams - the parameter values that are to replace the variables in the format string
public void error(Throwable t,
I18n message,
Object... params)
LoggerLogger.error(I18n, Object...).
error in class Loggert - the exception (throwable) to logmessage - the message accompanying the exceptionparams - the parameter values that are to replace the variables in the format string
public void info(I18n message,
Object... params)
Logger
info in class Loggermessage - the message stringparams - the parameter values that are to replace the variables in the format string
public void info(Throwable t,
I18n message,
Object... params)
LoggerLogger.info(I18n, Object...).
info in class Loggert - the exception (throwable) to logmessage - the message accompanying the exceptionparams - the parameter values that are to replace the variables in the format string
public void trace(String message,
Object... params)
Logger
trace in class Loggermessage - the message stringparams - the parameter values that are to replace the variables in the format string
public void trace(Throwable t,
String message,
Object... params)
LoggerLogger.trace(String, Object...).
trace in class Loggert - the exception (throwable) to logmessage - the message accompanying the exceptionparams - the parameter values that are to replace the variables in the format string
public void warn(I18n message,
Object... params)
Logger
warn in class Loggermessage - the message stringparams - the parameter values that are to replace the variables in the format string
public void warn(Throwable t,
I18n message,
Object... params)
LoggerLogger.warn(I18n, Object...).
warn in class Loggert - the exception (throwable) to logmessage - the message accompanying the exceptionparams - the parameter values that are to replace the variables in the format string
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||