@ManagedObject(value="Slf4j RequestLog Writer") public class Slf4jRequestLogWriter extends AbstractLifeCycle implements RequestLog.Writer
AbstractLifeCycle.AbstractLifeCycleListenerLifeCycle.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, toStringpublic 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.Writerjava.io.IOExceptionprotected void doStart()
throws java.lang.Exception
doStart in class AbstractLifeCyclejava.lang.ExceptionCopyright © 1995–2021 Webtide. All rights reserved.