| Constructor and Description |
|---|
DefaultLogWriter() |
| 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,
java.lang.Object command)
Writes a message to a log when an asynchronous equest command is sent.
|
void |
logOneWay(org.slf4j.Logger log,
java.lang.Object command)
Writes a message to a log when message is sent.
|
void |
logReceivedCommand(org.slf4j.Logger log,
java.lang.Object command)
Writes a message to a log when message is received.
|
void |
logReceivedException(org.slf4j.Logger log,
java.io.IOException error)
Writes a message to a log when an exception is received.
|
void |
logRequest(org.slf4j.Logger log,
java.lang.Object command)
Writes a message to a log when a request command is sent.
|
void |
logResponse(org.slf4j.Logger log,
java.lang.Object response)
Writes a message to a log when a response command is received.
|
public void initialMessage(org.slf4j.Logger log)
LogWriterinitialMessage in interface LogWriterlog - The log to be written to.public void logRequest(org.slf4j.Logger log,
java.lang.Object command)
LogWriterlogRequest in interface LogWriterlog - The log to be written to.command - The command to be logged.public void logResponse(org.slf4j.Logger log,
java.lang.Object response)
LogWriterlogResponse in interface LogWriterlog - The log to be written to.public void logAsyncRequest(org.slf4j.Logger log,
java.lang.Object command)
LogWriterlogAsyncRequest in interface LogWriterlog - The log to be written to.command - The command to be logged.public void logOneWay(org.slf4j.Logger log,
java.lang.Object command)
LogWriterpublic void logReceivedCommand(org.slf4j.Logger log,
java.lang.Object command)
LogWriterlogReceivedCommand in interface LogWriterlog - The log to be written to.command - The command to be logged.public void logReceivedException(org.slf4j.Logger log,
java.io.IOException error)
LogWriterlogReceivedException in interface LogWriterlog - The log to be written to.Copyright © 2005-2014 Red Hat, Inc.. All Rights Reserved.