Class CustomLogWriter
java.lang.Object
org.apache.activemq.transport.logwriters.CustomLogWriter
- All Implemented Interfaces:
org.apache.activemq.transport.LogWriter
Custom implementation of LogWriter interface.
- Author:
- David Martin Clavo david(dot)martin(dot)clavo(at)gmail.com
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidinitialMessage(org.slf4j.Logger log) voidlogAsyncRequest(org.slf4j.Logger log, Object command) voidvoidlogReceivedCommand(org.slf4j.Logger log, Object command) voidlogReceivedException(org.slf4j.Logger log, IOException error) voidlogRequest(org.slf4j.Logger log, Object command) voidlogResponse(org.slf4j.Logger log, Object response) void
-
Constructor Details
-
CustomLogWriter
public CustomLogWriter()
-
-
Method Details
-
setPrefix
- Specified by:
setPrefixin interfaceorg.apache.activemq.transport.LogWriter
-
initialMessage
public void initialMessage(org.slf4j.Logger log) - Specified by:
initialMessagein interfaceorg.apache.activemq.transport.LogWriter
-
logRequest
- Specified by:
logRequestin interfaceorg.apache.activemq.transport.LogWriter
-
logResponse
- Specified by:
logResponsein interfaceorg.apache.activemq.transport.LogWriter
-
logAsyncRequest
- Specified by:
logAsyncRequestin interfaceorg.apache.activemq.transport.LogWriter
-
logOneWay
- Specified by:
logOneWayin interfaceorg.apache.activemq.transport.LogWriter
-
logReceivedCommand
- Specified by:
logReceivedCommandin interfaceorg.apache.activemq.transport.LogWriter
-
logReceivedException
- Specified by:
logReceivedExceptionin interfaceorg.apache.activemq.transport.LogWriter
-