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