|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.activemq.transport.logwriters.CustomLogWriter
public class CustomLogWriter
Custom implementation of LogWriter interface.
| Constructor Summary | |
|---|---|
CustomLogWriter()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CustomLogWriter()
| Method Detail |
|---|
public void initialMessage(org.slf4j.Logger log)
LogWriter
initialMessage in interface LogWriterlog - The log to be written to.
public void logRequest(org.slf4j.Logger log,
Object command)
LogWriter
logRequest in interface LogWriterlog - The log to be written to.command - The command to be logged.
public void logResponse(org.slf4j.Logger log,
Object response)
LogWriter
logResponse in interface LogWriterlog - The log to be written to.
public void logAsyncRequest(org.slf4j.Logger log,
Object command)
LogWriter
logAsyncRequest in interface LogWriterlog - The log to be written to.command - The command to be logged.
public void logOneWay(org.slf4j.Logger log,
Object command)
LogWriter
logOneWay in interface LogWriterlog - The log to be written to.command - The command to be logged.
public void logReceivedCommand(org.slf4j.Logger log,
Object command)
LogWriter
logReceivedCommand in interface LogWriterlog - The log to be written to.command - The command to be logged.
public void logReceivedException(org.slf4j.Logger log,
IOException error)
LogWriter
logReceivedException in interface LogWriterlog - The log to be written to.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||