public interface LogSupport
Modifier and Type | Method and Description |
---|---|
org.adroitlogic.logging.api.Logger |
getCustomLogger(String logger)
Gets any custom logger
|
org.adroitlogic.logging.api.Logger |
getDeploymentLogger()
Gets the deployment logger as per the current context of the message
|
org.adroitlogic.logging.api.Logger |
getServiceLogger()
Gets the service logger as per the current context of the message
|
org.adroitlogic.logging.api.Logger |
getSystemLogger()
Gets the ESB main logger resulting the log to be saved in main log file of the system
|
void |
tracePayload(Message msg,
org.adroitlogic.logging.api.Logger logger,
String... suffix)
Writes the message payload to a file
if trace is enabled for the given logger and '/tmp/trace' directory exists
|
void |
tracePayload(Message msg,
String... suffix)
Writes the message payload to a file
if trace is enabled for the system logger and '/tmp/trace' directory exists
|
org.adroitlogic.logging.api.Logger getSystemLogger()
org.adroitlogic.logging.api.Logger getServiceLogger()
org.adroitlogic.logging.api.Logger getDeploymentLogger()
org.adroitlogic.logging.api.Logger getCustomLogger(String logger)
logger
- the name of the loggervoid tracePayload(Message msg, String... suffix)
msg
- Message object to be tracedsuffix
- optional list of suffixes for the file namevoid tracePayload(Message msg, org.adroitlogic.logging.api.Logger logger, String... suffix)
msg
- Message object to be tracedlogger
- Logger to be usedsuffix
- optional list of suffixes for the file nameCopyright © 2010–2016 AdroitLogic. All rights reserved.