|
JavaGantt 2011.1 API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecteu.beesoft.gaia.log.AbstractLog
eu.beesoft.gaia.log.log4j.Log4jLog
public class Log4jLog
Instances of this class are the bridge between Log implementation and
org.apache.log4j.Logger instances. They are created by
Log4jFactory when new log is requested.
| Constructor Summary | |
|---|---|
Log4jLog(java.lang.String name,
org.apache.log4j.Logger logger)
Creates a new instance of JavaLog. |
|
| Method Summary | |
|---|---|
void |
debug(java.lang.String message,
java.lang.Throwable exception)
Logs a DEBUG message, if this level is enabled. |
void |
error(java.lang.String message,
java.lang.Throwable exception)
Logs an ERROR message, if this level is enabled. |
org.apache.log4j.Logger |
getLogger()
Returns an instance of org.apache.log4j.Logger of this log. |
java.lang.String |
getName()
Returns a name of this log. |
void |
info(java.lang.String message,
java.lang.Throwable exception)
Logs an INFO message, if this level is enabled. |
boolean |
isDebugEnabled()
Returns true if logging on level DEBUG is enabled. |
boolean |
isInfoEnabled()
Returns true if logging on level INFO is enabled. |
boolean |
isWarnEnabled()
Returns true if logging on level WARNING is enabled. |
void |
warn(java.lang.String message,
java.lang.Throwable exception)
Logs a WARNING message, if this level is enabled. |
| Methods inherited from class eu.beesoft.gaia.log.AbstractLog |
|---|
debug, debug, entering, entering, error, error, exiting, exiting, info, info, mergeMessageWithParameters, toString, warn, warn |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Log4jLog(java.lang.String name,
org.apache.log4j.Logger logger)
name - - name (class name) of the loglogger - - Log4J Logger instance used to logging| Method Detail |
|---|
public java.lang.String getName()
public org.apache.log4j.Logger getLogger()
org.apache.log4j.Logger of this log.
public boolean isDebugEnabled()
Log
isDebugEnabled in interface LogisDebugEnabled in class AbstractLog
public void debug(java.lang.String message,
java.lang.Throwable exception)
Log
debug in interface Logdebug in class AbstractLogmessage - - message to logexception - - exception to logpublic boolean isInfoEnabled()
Log
isInfoEnabled in interface LogisInfoEnabled in class AbstractLog
public void info(java.lang.String message,
java.lang.Throwable exception)
Log
info in interface Loginfo in class AbstractLogmessage - - message to logexception - - exception to logpublic boolean isWarnEnabled()
Log
isWarnEnabled in interface LogisWarnEnabled in class AbstractLog
public void warn(java.lang.String message,
java.lang.Throwable exception)
Log
warn in interface Logwarn in class AbstractLogmessage - - message to logexception - - exception to log
public void error(java.lang.String message,
java.lang.Throwable exception)
Log
error in interface Logerror in class AbstractLogmessage - - message to logexception - - exception to log
|
JavaGantt 2011.1 API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||