public class LogDivertAppender
extends org.apache.log4j.WriterAppender
Constructor and Description |
---|
LogDivertAppender(OperationManager operationManager,
OperationLog.LoggingLevel loggingMode) |
Modifier and Type | Method and Description |
---|---|
void |
doAppend(org.apache.log4j.spi.LoggingEvent event) |
protected void |
subAppend(org.apache.log4j.spi.LoggingEvent event)
Overrides WriterAppender.subAppend(), which does the real logging.
|
activateOptions, append, checkEntryConditions, close, closeWriter, createWriter, getEncoding, getImmediateFlush, requiresLayout, reset, setEncoding, setErrorHandler, setImmediateFlush, setWriter, shouldFlush, writeFooter, writeHeader
public LogDivertAppender(OperationManager operationManager, OperationLog.LoggingLevel loggingMode)
public void doAppend(org.apache.log4j.spi.LoggingEvent event)
doAppend
in interface org.apache.log4j.Appender
doAppend
in class org.apache.log4j.AppenderSkeleton
protected void subAppend(org.apache.log4j.spi.LoggingEvent event)
subAppend
in class org.apache.log4j.WriterAppender
Copyright © 2017 The Apache Software Foundation. All rights reserved.