|
deegree 2.1 (2007/11/08 09:57 build-328-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.deegree.framework.log.LoggerService
org.deegree.framework.log.JBossLogger
final class JBossLogger
Log service provided for JBoss log service. To configure the log system use the JBoss log configuration file.
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 | |
---|---|
JBossLogger()
Factory method to retrieve the instance of the Server. |
Method Summary | |
---|---|
void |
bindClass(Class name)
|
void |
bindClass(String name)
|
int |
getLevel()
|
boolean |
isDebug()
Debugging log is enabled. |
void |
log(int priority,
String message,
Object source,
Throwable ex)
|
void |
log(int priority,
String message,
Throwable ex)
|
void |
logDebug(String message)
Log debug message |
void |
logDebug(String message,
Object tracableObject)
|
void |
logDebug(String message,
Throwable ex)
Log debug message. |
void |
logError(String message)
Log error message. |
void |
logError(String message,
Throwable ex)
Log error with exception |
void |
logInfo(String message)
Log info message |
void |
logInfo(String message,
Object tracableObject)
|
void |
logInfo(String message,
Throwable ex)
Log info message |
void |
logWarning(String message)
Log warning message |
void |
logWarning(String message,
Throwable ex)
Log warning message with exception |
void |
setLevel(int level)
Set the log level. |
String |
toString()
|
Methods inherited from class org.deegree.framework.log.LoggerService |
---|
entering, entering, entering, exiting, exiting, exiting, init, logDebugBinaryFile, logDebugBinaryFile, logDebugFile, logDebugFile, logDebugXMLFile, logError, sendMail |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
JBossLogger()
Method Detail |
---|
public void bindClass(String name)
public void bindClass(Class name)
public void logError(String message)
ILogger
message
- the log messagepublic void logError(String message, Throwable ex)
ILogger
message
- the log messageex
- the exception to be loggedpublic void logWarning(String message)
LoggerService
logWarning
in interface ILogger
logWarning
in class LoggerService
message
- the log messagepublic void logWarning(String message, Throwable ex)
LoggerService
logWarning
in interface ILogger
logWarning
in class LoggerService
message
- the log messageex
- the exception to be loggedpublic void logInfo(String message)
LoggerService
logInfo
in interface ILogger
logInfo
in class LoggerService
message
- the log messagepublic void logInfo(String message, Throwable ex)
LoggerService
logInfo
in interface ILogger
logInfo
in class LoggerService
message
- the log messageex
- the exception to be loggedpublic void logInfo(String message, Object tracableObject)
public void logDebug(String message)
LoggerService
logDebug
in interface ILogger
logDebug
in class LoggerService
message
- the log messagepublic void logDebug(String message, Throwable ex)
LoggerService
logDebug
in interface ILogger
logDebug
in class LoggerService
message
- the log messageex
- the exception to be loggedpublic void logDebug(String message, Object tracableObject)
public void log(int priority, String message, Throwable ex)
public void log(int priority, String message, Object source, Throwable ex)
public int getLevel()
public void setLevel(int level)
ILogger.setLevel(int)
public boolean isDebug()
ILogger
true
if the log level is DEBUG, otherwise false
public String toString()
toString
in class Object
|
deegree 2.1 (2007/11/08 09:57 build-328-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://deegree.sourceforge.net