Class CustomLogWriter
- java.lang.Object
-
- org.apache.activemq.transport.logwriters.CustomLogWriter
-
- All Implemented Interfaces:
org.apache.activemq.transport.LogWriter
public class CustomLogWriter extends Object implements 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 Constructor Description CustomLogWriter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidinitialMessage(org.slf4j.Logger log)voidlogAsyncRequest(org.slf4j.Logger log, Object command)voidlogOneWay(org.slf4j.Logger log, Object command)voidlogReceivedCommand(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)voidsetPrefix(String prefix)
-
-
-
Method Detail
-
setPrefix
public void setPrefix(String prefix)
- 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
public void logRequest(org.slf4j.Logger log, Object command)- Specified by:
logRequestin interfaceorg.apache.activemq.transport.LogWriter
-
logResponse
public void logResponse(org.slf4j.Logger log, Object response)- Specified by:
logResponsein interfaceorg.apache.activemq.transport.LogWriter
-
logAsyncRequest
public void logAsyncRequest(org.slf4j.Logger log, Object command)- Specified by:
logAsyncRequestin interfaceorg.apache.activemq.transport.LogWriter
-
logOneWay
public void logOneWay(org.slf4j.Logger log, Object command)- Specified by:
logOneWayin interfaceorg.apache.activemq.transport.LogWriter
-
logReceivedCommand
public void logReceivedCommand(org.slf4j.Logger log, Object command)- Specified by:
logReceivedCommandin interfaceorg.apache.activemq.transport.LogWriter
-
logReceivedException
public void logReceivedException(org.slf4j.Logger log, IOException error)- Specified by:
logReceivedExceptionin interfaceorg.apache.activemq.transport.LogWriter
-
-