|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.jaxme.logging.LoggerImpl
Base implementation of a Logger.
Constructor Summary | |
LoggerImpl(java.lang.String pCName)
|
Method Summary | |
void |
entering(java.lang.String mName)
Logs the message that a method is entered. |
void |
entering(java.lang.String mName,
java.lang.Object pDetails)
Logs the message that a method is entered. |
void |
entering(java.lang.String mName,
java.lang.Object[] pDetails)
Logs the message that a method is entered. |
void |
error(java.lang.String mName,
java.lang.String pMsg)
Logs the given message with error level. |
void |
error(java.lang.String mName,
java.lang.String pMsg,
java.lang.Object pDetails)
Logs the given message with error level. |
void |
error(java.lang.String mName,
java.lang.String pMsg,
java.lang.Object[] pDetails)
Logs the given message with error level. |
void |
exiting(java.lang.String mName)
Logs the message that a method is exiting. |
void |
exiting(java.lang.String mName,
java.lang.Object pDetails)
Logs the message that a method is exiting. |
void |
exiting(java.lang.String mName,
java.lang.Object[] pDetails)
Logs the message that a method is exiting. |
void |
fine(java.lang.String mName,
java.lang.String pMsg)
Logs the given message with fine level. |
void |
fine(java.lang.String mName,
java.lang.String pMsg,
java.lang.Object pDetails)
Logs the given message with fine level. |
void |
fine(java.lang.String mName,
java.lang.String pMsg,
java.lang.Object[] pDetails)
Logs the given message with fine level. |
void |
finer(java.lang.String mName,
java.lang.String pMsg)
Logs the given message with finer level. |
void |
finer(java.lang.String mName,
java.lang.String pMsg,
java.lang.Object pDetails)
Logs the given message with finer level. |
void |
finer(java.lang.String mName,
java.lang.String pMsg,
java.lang.Object[] pDetails)
Logs the given message with finer level. |
void |
finest(java.lang.String mName,
java.lang.String pMsg)
Logs the given message with finest level. |
void |
finest(java.lang.String mName,
java.lang.String pMsg,
java.lang.Object pDetails)
Logs the given message with finest level. |
void |
finest(java.lang.String mName,
java.lang.String pMsg,
java.lang.Object[] pDetails)
Logs the given message with finest level. |
void |
info(java.lang.String mName,
java.lang.String pMsg)
Logs the given message with info level. |
void |
info(java.lang.String mName,
java.lang.String pMsg,
java.lang.Object pDetails)
Logs the given message with info level. |
void |
info(java.lang.String mName,
java.lang.String pMsg,
java.lang.Object[] pDetails)
Logs the given message with info level. |
boolean |
isErrorEnabled()
Returns whether error logging is enabled. |
boolean |
isFineEnabled()
Returns whether fine logging is enabled. |
boolean |
isFinerEnabled()
Returns whether fine logging is enabled. |
boolean |
isFinestEnabled()
Returns whether finest logging is enabled. |
boolean |
isInfoEnabled()
Returns whether info logging is enabled. |
boolean |
isLoggingThread()
|
boolean |
isLoggingTime()
|
boolean |
isWarnEnabled()
Returns whether warning logging is enabled. |
protected void |
log(java.lang.String pMsg)
|
protected void |
log(java.lang.String pLevel,
java.lang.String pCName,
java.lang.String pMName,
java.lang.Object[] pDetails)
|
protected void |
log(java.lang.String pLevel,
java.lang.String pCName,
java.lang.String pMName,
java.lang.String pMsg)
|
protected void |
log(java.lang.String pLevel,
java.lang.String pCName,
java.lang.String pMName,
java.lang.String pMsg,
java.lang.Object[] pDetails)
|
void |
setLoggingThread(boolean pLoggingThread)
|
void |
setLoggingTime(boolean pLoggingTime)
|
void |
throwing(java.lang.String mName,
java.lang.Throwable pThrowable)
Logs the given Throwable. |
void |
warn(java.lang.String mName,
java.lang.String pMsg)
Logs the given message with warning level. |
void |
warn(java.lang.String mName,
java.lang.String pMsg,
java.lang.Object pDetails)
Logs the given message with warning level. |
void |
warn(java.lang.String mName,
java.lang.String pMsg,
java.lang.Object[] pDetails)
Logs the given message with warning level. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public LoggerImpl(java.lang.String pCName)
Method Detail |
public boolean isLoggingTime()
public boolean isLoggingThread()
public void setLoggingTime(boolean pLoggingTime)
public void setLoggingThread(boolean pLoggingThread)
protected void log(java.lang.String pMsg)
protected void log(java.lang.String pLevel, java.lang.String pCName, java.lang.String pMName, java.lang.String pMsg)
protected void log(java.lang.String pLevel, java.lang.String pCName, java.lang.String pMName, java.lang.String pMsg, java.lang.Object[] pDetails)
protected void log(java.lang.String pLevel, java.lang.String pCName, java.lang.String pMName, java.lang.Object[] pDetails)
public boolean isFinestEnabled()
Logger
Returns whether finest logging is enabled.
isFinestEnabled
in interface Logger
public boolean isFinerEnabled()
Logger
Returns whether fine logging is enabled.
isFinerEnabled
in interface Logger
public boolean isFineEnabled()
Logger
Returns whether fine logging is enabled.
isFineEnabled
in interface Logger
public boolean isInfoEnabled()
Logger
Returns whether info logging is enabled.
isInfoEnabled
in interface Logger
public boolean isWarnEnabled()
Logger
Returns whether warning logging is enabled.
isWarnEnabled
in interface Logger
public boolean isErrorEnabled()
Logger
Returns whether error logging is enabled.
isErrorEnabled
in interface Logger
public void finest(java.lang.String mName, java.lang.String pMsg, java.lang.Object[] pDetails)
Logger
Logs the given message with finest level.
finest
in interface Logger
public void finest(java.lang.String mName, java.lang.String pMsg)
Logger
Logs the given message with finest level.
finest
in interface Logger
public void finest(java.lang.String mName, java.lang.String pMsg, java.lang.Object pDetails)
Logger
Logs the given message with finest level.
finest
in interface Logger
public void finer(java.lang.String mName, java.lang.String pMsg, java.lang.Object[] pDetails)
Logger
Logs the given message with finer level.
finer
in interface Logger
public void finer(java.lang.String mName, java.lang.String pMsg)
Logger
Logs the given message with finer level.
finer
in interface Logger
public void finer(java.lang.String mName, java.lang.String pMsg, java.lang.Object pDetails)
Logger
Logs the given message with finer level.
finer
in interface Logger
public void fine(java.lang.String mName, java.lang.String pMsg, java.lang.Object[] pDetails)
Logger
Logs the given message with fine level.
fine
in interface Logger
public void fine(java.lang.String mName, java.lang.String pMsg)
Logger
Logs the given message with fine level.
fine
in interface Logger
public void fine(java.lang.String mName, java.lang.String pMsg, java.lang.Object pDetails)
Logger
Logs the given message with fine level.
fine
in interface Logger
public void info(java.lang.String mName, java.lang.String pMsg, java.lang.Object[] pDetails)
Logger
Logs the given message with info level.
info
in interface Logger
public void info(java.lang.String mName, java.lang.String pMsg)
Logger
Logs the given message with info level.
info
in interface Logger
public void info(java.lang.String mName, java.lang.String pMsg, java.lang.Object pDetails)
Logger
Logs the given message with info level.
info
in interface Logger
public void warn(java.lang.String mName, java.lang.String pMsg, java.lang.Object[] pDetails)
Logger
Logs the given message with warning level.
warn
in interface Logger
public void warn(java.lang.String mName, java.lang.String pMsg)
Logger
Logs the given message with warning level.
warn
in interface Logger
public void warn(java.lang.String mName, java.lang.String pMsg, java.lang.Object pDetails)
Logger
Logs the given message with warning level.
warn
in interface Logger
public void error(java.lang.String mName, java.lang.String pMsg, java.lang.Object[] pDetails)
Logger
Logs the given message with error level.
error
in interface Logger
public void error(java.lang.String mName, java.lang.String pMsg)
Logger
Logs the given message with error level.
error
in interface Logger
public void error(java.lang.String mName, java.lang.String pMsg, java.lang.Object pDetails)
Logger
Logs the given message with error level.
error
in interface Logger
public void entering(java.lang.String mName, java.lang.Object[] pDetails)
Logger
Logs the message that a method is entered.
entering
in interface Logger
public void entering(java.lang.String mName)
Logger
Logs the message that a method is entered.
entering
in interface Logger
public void entering(java.lang.String mName, java.lang.Object pDetails)
Logger
Logs the message that a method is entered.
entering
in interface Logger
public void exiting(java.lang.String mName, java.lang.Object[] pDetails)
Logger
Logs the message that a method is exiting.
exiting
in interface Logger
public void exiting(java.lang.String mName)
Logger
Logs the message that a method is exiting.
exiting
in interface Logger
public void exiting(java.lang.String mName, java.lang.Object pDetails)
Logger
Logs the message that a method is exiting.
exiting
in interface Logger
public void throwing(java.lang.String mName, java.lang.Throwable pThrowable)
Logger
Logs the given Throwable.
throwing
in interface Logger
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |