|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.deegree.framework.log.LoggerService org.deegree.framework.log.JCLLogger
public class JCLLogger
Log service provided for Apache Commons Logging (JCL) log service.
Field Summary |
---|
Fields inherited from class org.deegree.framework.log.LoggerService |
---|
defaultChannelName |
Fields inherited from interface org.deegree.framework.log.ILogger |
---|
LOG_DEBUG, LOG_ERROR, LOG_INFO, LOG_WARNING |
Constructor Summary | |
---|---|
JCLLogger()
|
Method Summary | |
---|---|
void |
bindClass(java.lang.Class<?> name)
|
void |
bindClass(java.lang.String name)
|
int |
getLevel()
|
boolean |
isDebug()
Debugging log is enabled. |
void |
log(int priority,
java.lang.String message,
java.lang.Object source,
java.lang.Throwable ex)
|
void |
log(int priority,
java.lang.String message,
java.lang.Throwable ex)
|
void |
logDebug(java.lang.String message)
Log debug message |
void |
logDebug(java.lang.String message,
java.lang.Object... tracableObjects)
|
void |
logDebug(java.lang.String message,
java.lang.Object tracableObject)
|
void |
logDebug(java.lang.String message,
java.lang.Throwable e)
Log debug message. |
void |
logError(java.lang.String message)
Log error message. |
void |
logError(java.lang.String message,
java.lang.Throwable e)
Log error with exception |
void |
logError(java.lang.Throwable e)
Log error with exception, use the exceptions.getLocatizedMethod for the message |
void |
logInfo(java.lang.String message)
Log info message |
void |
logInfo(java.lang.String message,
java.lang.Object... tracableObject)
|
void |
logInfo(java.lang.String message,
java.lang.Object tracableObject)
|
void |
logInfo(java.lang.String message,
java.lang.Throwable e)
Log info message |
void |
logWarning(java.lang.String message)
Log warning message |
void |
logWarning(java.lang.String message,
java.lang.Throwable e)
Log warning message with exception |
void |
setLevel(int level)
sets the debug level |
Methods inherited from class org.deegree.framework.log.LoggerService |
---|
init, logDebugBinaryFile, logDebugBinaryFile, logDebugFile, logDebugFile, logDebugXMLFile, logError, sendMail |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JCLLogger()
Method Detail |
---|
public void bindClass(java.lang.String name)
public void bindClass(java.lang.Class<?> name)
public int getLevel()
public void setLevel(int level)
ILogger
public boolean isDebug()
ILogger
true
if the log level is DEBUG, otherwise false
public void logDebug(java.lang.String message)
LoggerService
logDebug
in interface ILogger
logDebug
in class LoggerService
message
- the log messagepublic void logDebug(java.lang.String message, java.lang.Throwable e)
LoggerService
logDebug
in interface ILogger
logDebug
in class LoggerService
message
- the log messagee
- the exception to be loggedpublic void logDebug(java.lang.String message, java.lang.Object tracableObject)
public void logDebug(java.lang.String message, java.lang.Object... tracableObjects)
public void logError(java.lang.String message)
ILogger
message
- the log messagepublic void logError(java.lang.String message, java.lang.Throwable e)
ILogger
message
- the log messagee
- the exception to be loggedpublic void logInfo(java.lang.String message)
LoggerService
logInfo
in interface ILogger
logInfo
in class LoggerService
message
- the log messagepublic void logInfo(java.lang.String message, java.lang.Throwable e)
LoggerService
logInfo
in interface ILogger
logInfo
in class LoggerService
message
- the log messagee
- the exception to be loggedpublic void logInfo(java.lang.String message, java.lang.Object tracableObject)
public void logInfo(java.lang.String message, java.lang.Object... tracableObject)
public void logWarning(java.lang.String message)
LoggerService
logWarning
in interface ILogger
logWarning
in class LoggerService
message
- the log messagepublic void logWarning(java.lang.String message, java.lang.Throwable e)
LoggerService
logWarning
in interface ILogger
logWarning
in class LoggerService
message
- the log messagee
- the exception to be loggedpublic void log(int priority, java.lang.String message, java.lang.Throwable ex)
public void log(int priority, java.lang.String message, java.lang.Object source, java.lang.Throwable ex)
public void logError(java.lang.Throwable e)
ILogger
e
- the exception to be logged
|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org