public class DefaultLogWriter extends Object implements LogWriter
Constructor and Description |
---|
DefaultLogWriter() |
Modifier and Type | Method and Description |
---|---|
void |
initialMessage(org.slf4j.Logger log) |
void |
logAsyncRequest(org.slf4j.Logger log,
Object command) |
void |
logOneWay(org.slf4j.Logger log,
Object command) |
void |
logReceivedCommand(org.slf4j.Logger log,
Object command) |
void |
logReceivedException(org.slf4j.Logger log,
IOException error) |
void |
logRequest(org.slf4j.Logger log,
Object command) |
void |
logResponse(org.slf4j.Logger log,
Object response) |
void |
setPrefix(String prefix) |
public DefaultLogWriter()
public void initialMessage(org.slf4j.Logger log)
initialMessage
in interface LogWriter
public void logRequest(org.slf4j.Logger log, Object command)
logRequest
in interface LogWriter
public void logResponse(org.slf4j.Logger log, Object response)
logResponse
in interface LogWriter
public void logAsyncRequest(org.slf4j.Logger log, Object command)
logAsyncRequest
in interface LogWriter
public void logReceivedCommand(org.slf4j.Logger log, Object command)
logReceivedCommand
in interface LogWriter
public void logReceivedException(org.slf4j.Logger log, IOException error)
logReceivedException
in interface LogWriter
Copyright © 2005–2020 FuseSource, Corp.. All rights reserved.