public interface LogWriter
Modifier and Type | Method and Description |
---|---|
void |
initialMessage(org.slf4j.Logger log)
Writes a header message to the log.
|
void |
logAsyncRequest(org.slf4j.Logger log,
Object command)
Writes a message to a log when an asynchronous equest command is sent.
|
void |
logOneWay(org.slf4j.Logger log,
Object command)
Writes a message to a log when message is sent.
|
void |
logReceivedCommand(org.slf4j.Logger log,
Object command)
Writes a message to a log when message is received.
|
void |
logReceivedException(org.slf4j.Logger log,
IOException error)
Writes a message to a log when an exception is received.
|
void |
logRequest(org.slf4j.Logger log,
Object command)
Writes a message to a log when a request command is sent.
|
void |
logResponse(org.slf4j.Logger log,
Object response)
Writes a message to a log when a response command is received.
|
void |
setPrefix(String prefix)
prefix each statement with this value.
|
void setPrefix(String prefix)
prefix
- void initialMessage(org.slf4j.Logger log)
log
- The log to be written to.void logRequest(org.slf4j.Logger log, Object command)
log
- The log to be written to.command
- The command to be logged.void logResponse(org.slf4j.Logger log, Object response)
log
- The log to be written to.command
- The command to be logged.void logAsyncRequest(org.slf4j.Logger log, Object command)
log
- The log to be written to.command
- The command to be logged.void logOneWay(org.slf4j.Logger log, Object command)
log
- The log to be written to.command
- The command to be logged.void logReceivedCommand(org.slf4j.Logger log, Object command)
log
- The log to be written to.command
- The command to be logged.void logReceivedException(org.slf4j.Logger log, IOException error)
log
- The log to be written to.command
- The command to be logged.Copyright © 2005–2021 FuseSource, Corp.. All rights reserved.