de.innovationgate.wgpublisher.log
public abstract class WGAAsyncLogger<D extends LogData> extends Object implements WGALogger
LogData
object and put up a loggerQueue.
Every 10 seconds a background task writes the queue data to the log target.Constructor and Description |
---|
WGAAsyncLogger() |
Modifier and Type | Method and Description |
---|---|
void |
close()
Called when the logger is closed
|
void |
init(de.innovationgate.wga.config.AccessLog config,
WGACore core) |
void |
logRequest(ServletRequest request)
Receives logger requests to log them.
|
public final void init(de.innovationgate.wga.config.AccessLog config, WGACore core) throws WGALoggerException
public void logRequest(ServletRequest request) throws WGALoggerException
WGALogger
logRequest
in interface WGALogger
WGALoggerException
public void close()
WGALogger
close
in interface WGALogger
WGALogger.close()