|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.activemq.transport.logwriters.DefaultLogWriter
public class DefaultLogWriter
Implementation of LogWriter interface to keep ActiveMQ's old logging format.
Constructor Summary | |
---|---|
DefaultLogWriter()
|
Method Summary | |
---|---|
void |
initialMessage(Log log)
Writes a header message to the log. |
void |
logAsyncRequest(Log log,
Object command)
Writes a message to a log when an asynchronous equest command is sent. |
void |
logOneWay(Log log,
Object command)
Writes a message to a log when message is sent. |
void |
logReceivedCommand(Log log,
Object command)
Writes a message to a log when message is received. |
void |
logReceivedException(Log log,
IOException error)
Writes a message to a log when an exception is received. |
void |
logRequest(Log log,
Object command)
Writes a message to a log when a request command is sent. |
void |
logResponse(Log 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 DefaultLogWriter()
Method Detail |
---|
public void initialMessage(Log log)
LogWriter
initialMessage
in interface LogWriter
log
- The log to be written to.public void logRequest(Log log, Object command)
LogWriter
logRequest
in interface LogWriter
log
- The log to be written to.command
- The command to be logged.public void logResponse(Log log, Object response)
LogWriter
logResponse
in interface LogWriter
log
- The log to be written to.public void logAsyncRequest(Log log, Object command)
LogWriter
logAsyncRequest
in interface LogWriter
log
- The log to be written to.command
- The command to be logged.public void logOneWay(Log log, Object command)
LogWriter
logOneWay
in interface LogWriter
log
- The log to be written to.command
- The command to be logged.public void logReceivedCommand(Log log, Object command)
LogWriter
logReceivedCommand
in interface LogWriter
log
- The log to be written to.command
- The command to be logged.public void logReceivedException(Log log, IOException error)
LogWriter
logReceivedException
in interface LogWriter
log
- The log to be written to.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |