@ManagedObject(value="Slf4j RequestLog Writer") public class Slf4jRequestLogWriter extends AbstractLifeCycle implements RequestLog.Writer
AbstractLifeCycle.AbstractLifeCycleListener
LifeCycle.Listener
Constructor and Description |
---|
Slf4jRequestLogWriter() |
Modifier and Type | Method and Description |
---|---|
protected void |
doStart() |
java.lang.String |
getLoggerName() |
protected boolean |
isEnabled() |
void |
setLoggerName(java.lang.String loggerName) |
void |
write(java.lang.String requestEntry) |
addLifeCycleListener, doStop, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, setStopTimeout, start, stop, toString
public void setLoggerName(java.lang.String loggerName)
@ManagedAttribute(value="logger name") public java.lang.String getLoggerName()
protected boolean isEnabled()
public void write(java.lang.String requestEntry) throws java.io.IOException
write
in interface RequestLog.Writer
java.io.IOException
protected void doStart() throws java.lang.Exception
doStart
in class AbstractLifeCycle
java.lang.Exception
Copyright © 1995–2023 Webtide. All rights reserved.