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 void
initialMessage(org.slf4j.Logger log)
void
logAsyncRequest(org.slf4j.Logger log, Object command)
void
logOneWay(org.slf4j.Logger log, Object command)
void
logReceivedCommand(org.slf4j.Logger log, Object command)
void
logReceivedException(org.slf4j.Logger log, IOException error)
void
logRequest(org.slf4j.Logger log, Object command)
void
logResponse(org.slf4j.Logger log, Object response)
void
setPrefix(String prefix)
-
-
-
Method Detail
-
setPrefix
public void setPrefix(String prefix)
- Specified by:
setPrefix
in interfaceorg.apache.activemq.transport.LogWriter
-
initialMessage
public void initialMessage(org.slf4j.Logger log)
- Specified by:
initialMessage
in interfaceorg.apache.activemq.transport.LogWriter
-
logRequest
public void logRequest(org.slf4j.Logger log, Object command)
- Specified by:
logRequest
in interfaceorg.apache.activemq.transport.LogWriter
-
logResponse
public void logResponse(org.slf4j.Logger log, Object response)
- Specified by:
logResponse
in interfaceorg.apache.activemq.transport.LogWriter
-
logAsyncRequest
public void logAsyncRequest(org.slf4j.Logger log, Object command)
- Specified by:
logAsyncRequest
in interfaceorg.apache.activemq.transport.LogWriter
-
logOneWay
public void logOneWay(org.slf4j.Logger log, Object command)
- Specified by:
logOneWay
in interfaceorg.apache.activemq.transport.LogWriter
-
logReceivedCommand
public void logReceivedCommand(org.slf4j.Logger log, Object command)
- Specified by:
logReceivedCommand
in interfaceorg.apache.activemq.transport.LogWriter
-
logReceivedException
public void logReceivedException(org.slf4j.Logger log, IOException error)
- Specified by:
logReceivedException
in interfaceorg.apache.activemq.transport.LogWriter
-
-