|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.log4j.AppenderSkeleton nl.idgis.giserver.GiServerLog4jAppender
public class GiServerLog4jAppender
GiServerLog4jAppender is an log4j appender. Its collects the reports and will
be write then into a SWF file on activation method reportToSWF.
The major extension on the standard log4j appender is the thread awareness.
This appender collects the report only for his own thread.
Constructor Summary | |
---|---|
GiServerLog4jAppender()
|
Method Summary | |
---|---|
void |
attachToLogger(java.lang.String category)
Attach this logger to the given category. |
void |
close()
|
boolean |
containsLoggingInfo()
|
void |
detachFromLogger()
detach this appender from its catogory where is was attached to. |
boolean |
reports(org.w3c.dom.Document doc)
Report all the collects log4j reports to a DOM tree. |
void |
reportToResponse(javax.servlet.http.HttpServletResponse response)
Try to flush the gathered errors etc to the reponse output medium |
void |
reportToSWF(nl.idgis.flash.FlashMovie movie)
Report all the collects log4j reports to the SWF file in the form of an action liste item. |
boolean |
requiresLayout()
|
Methods inherited from class org.apache.log4j.AppenderSkeleton |
---|
activateOptions, addFilter, clearFilters, doAppend, finalize, getErrorHandler, getFilter, getFirstFilter, getLayout, getName, getThreshold, isAsSevereAsThreshold, setErrorHandler, setLayout, setName, setThreshold |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GiServerLog4jAppender()
Method Detail |
---|
public boolean containsLoggingInfo()
public boolean reports(org.w3c.dom.Document doc)
node
- the concerned DOM tree node to hang up the error messagespublic void reportToSWF(nl.idgis.flash.FlashMovie movie)
movie
- the concerned movie who generate the SWF filepublic void reportToResponse(javax.servlet.http.HttpServletResponse response)
response
- public boolean requiresLayout()
requiresLayout
in interface org.apache.log4j.Appender
requiresLayout
in class org.apache.log4j.AppenderSkeleton
public void close()
close
in interface org.apache.log4j.Appender
close
in class org.apache.log4j.AppenderSkeleton
public void attachToLogger(java.lang.String category)
category
- public void detachFromLogger()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |