|
Log4js 1.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object | +--Log4js.Appender | +--Log4js.AjaxAppender
Defined in log4js.js
Author: Stephan Strittmatter
Constructor Summary | |
Log4js.AjaxAppender(<String> loggingUrl)
AJAX Appender sending Log4js.LoggingEvents asynchron via XMLHttpRequest to server.The Log4js.LoggingEvent is POSTed as response content and is formatted by the accociated layout. |
Methods inherited from class Log4js.Appender |
doAppend, doClear, setLayout, setLogger
|
Constructor Detail |
Log4js.AjaxAppender(<String> loggingUrl)
XMLHttpRequest
to server.threshold
defines when the logs
should be send to the server. By default every event is sent on its
own (threshold=1). If it is set to 10, then the events are send in groups of
10 events.
loggingUrl
- url where appender will post log messages to
logger
- log4js instance this appender is attached to
|
Log4js 1.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |