public class CircularQueueLogAppender
extends org.apache.log4j.AppenderSkeleton
Constructor and Description |
---|
CircularQueueLogAppender() |
Modifier and Type | Method and Description |
---|---|
void |
activateOptions() |
protected void |
append(org.apache.log4j.spi.LoggingEvent event) |
void |
close() |
List<HashMap<String,Object>> |
getLoggedEvents(String siteId,
long since) |
static CircularQueueLogAppender |
loggerQueue() |
boolean |
requiresLayout() |
void |
setDateFormat(String dateFormat) |
void |
setMaxQueueSize(int maxQueueSize) |
protected String |
subAppend(org.apache.log4j.spi.LoggingEvent event) |
protected void append(org.apache.log4j.spi.LoggingEvent event)
append
in class org.apache.log4j.AppenderSkeleton
public void setMaxQueueSize(int maxQueueSize)
public void activateOptions()
activateOptions
in interface org.apache.log4j.spi.OptionHandler
activateOptions
in class org.apache.log4j.AppenderSkeleton
public void close()
public boolean requiresLayout()
public void setDateFormat(String dateFormat)
public static CircularQueueLogAppender loggerQueue()
protected String subAppend(org.apache.log4j.spi.LoggingEvent event)
Copyright © 2020 CrafterCMS. All rights reserved.