|
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.JavaLogger
final class JavaLogger
Log service provided by Java logging API.
The log environment is fully configurable using a configuration file.
The configuration file name is logging.properties
.
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 | |
---|---|
JavaLogger()
|
Method Summary | |
---|---|
void |
bindClass(Class class1)
|
void |
bindClass(String string)
|
int |
getLevel()
|
boolean |
isDebug()
Debugging log is enabled. |
void |
log(int i,
String string,
Object object,
Throwable throwable)
|
void |
log(int i,
String string,
Throwable throwable)
|
void |
logDebug(String string)
Log debug message |
void |
logDebug(String string,
Object object)
|
void |
logDebug(String string,
Throwable throwable)
Log debug message. |
void |
logError(String string)
Log error message. |
void |
logError(String string,
Throwable throwable)
Log error with exception |
void |
logInfo(String string)
Log info message |
void |
logInfo(String string,
Object object)
|
void |
logInfo(String string,
Throwable throwable)
Log info message |
void |
logWarning(String string)
Log warning message |
void |
logWarning(String string,
Throwable throwable)
Log warning message with exception |
void |
setLevel(int level)
sets the debug 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 |
---|
JavaLogger()
Method Detail |
---|
public void bindClass(String string)
ILogger.bindClass(java.lang.String)
public void bindClass(Class class1)
ILogger.bindClass(java.lang.Class)
public void logDebug(String string, Throwable throwable)
LoggerService
logDebug
in interface ILogger
logDebug
in class LoggerService
string
- the log messagethrowable
- the exception to be loggedILogger.logDebug(java.lang.String, java.lang.Throwable)
public void logInfo(String string, Throwable throwable)
LoggerService
logInfo
in interface ILogger
logInfo
in class LoggerService
string
- the log messagethrowable
- the exception to be loggedILogger.logInfo(java.lang.String, java.lang.Throwable)
public void logWarning(String string, Throwable throwable)
LoggerService
logWarning
in interface ILogger
logWarning
in class LoggerService
string
- the log messagethrowable
- the exception to be loggedILogger.logWarning(java.lang.String, java.lang.Throwable)
public void logError(String string, Throwable throwable)
ILogger
string
- the log messagethrowable
- the exception to be loggedILogger.logError(java.lang.String, java.lang.Throwable)
public void logDebug(String string)
LoggerService
logDebug
in interface ILogger
logDebug
in class LoggerService
string
- the log messageILogger.logDebug(java.lang.String)
public void logInfo(String string)
LoggerService
logInfo
in interface ILogger
logInfo
in class LoggerService
string
- the log messageILogger.logInfo(java.lang.String)
public void logWarning(String string)
LoggerService
logWarning
in interface ILogger
logWarning
in class LoggerService
string
- the log messageILogger.logWarning(java.lang.String)
public void logError(String string)
ILogger
string
- the log messageILogger.logError(java.lang.String)
public void logInfo(String string, Object object)
ILogger.logInfo(java.lang.String, java.lang.Object)
public void logDebug(String string, Object object)
ILogger.logDebug(java.lang.String, java.lang.Object)
public void log(int i, String string, Throwable throwable)
ILogger.log(int, java.lang.String, java.lang.Throwable)
public void log(int i, String string, Object object, Throwable throwable)
ILogger.log(int, java.lang.String, java.lang.Object, java.lang.Throwable)
public String toString()
toString
in class Object
Object.toString()
public int getLevel()
ILogger.getLevel()
public void setLevel(int level)
ILogger
ILogger.setLevel(int)
public boolean isDebug()
ILogger
true
if the log level is DEBUG, otherwise false
|
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