@ComponentProfile(summary="Log a message to the log file; useful for debugging", tag="service,logging,debug") public class LoggingService extends LoggingServiceImpl
In the adapter configuration file this class is aliased as logging-service which is the preferred alternative to the fully qualified classname when building your configuration.
LoggingServiceImpl.LoggingLevel
log
CONFIRMATION_ID_KEY
Constructor and Description |
---|
LoggingService() |
LoggingService(LoggingServiceImpl.LoggingLevel level,
java.lang.String text) |
Modifier and Type | Method and Description |
---|---|
void |
doService(AdaptrisMessage msg)
Apply the service to the message.
|
java.lang.String |
getText() |
void |
setText(java.lang.String s) |
closeService, getLogCategory, getLogger, getLogLevel, initService, prepare, setLogCategory, setLogLevel, slf4jLogger, withLogCategory
changeState, close, continueOnFailure, createName, createQualifier, getContinueOnFail, getIsTrackingEndpoint, getLookupName, getUniqueId, init, isBranching, isTrackingEndpoint, requestClose, requestInit, requestStart, requestStop, retrieveComponentState, setContinueOnFail, setIsTrackingEndpoint, setLookupName, setUniqueId, start, stop
public LoggingService()
public LoggingService(LoggingServiceImpl.LoggingLevel level, java.lang.String text)
public void doService(AdaptrisMessage msg) throws ServiceException
Service
Apply the service to the message.
msg
- the AdaptrisMessage
to processServiceException
- wrapping any underlying Exception
s#doService(com.adaptris.core.AdaptrisMessage)
public java.lang.String getText()
public void setText(java.lang.String s)