|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.cybersource.ws.client.LoggerImpl
public class LoggerImpl
Default file-based implementation of the Logger interface.
| Field Summary |
|---|
| Fields inherited from interface com.cybersource.ws.client.Logger |
|---|
LT_EXCEPTION, LT_FAULT, LT_FILESTART, LT_INFO, LT_MERCHCFG, LT_PROXYCFG, LT_REPLY, LT_REQUEST, LT_TRANSTART |
| Constructor Summary | |
|---|---|
LoggerImpl(MerchantConfig _mc)
Constructor. |
|
| Method Summary | |
|---|---|
void |
log(java.lang.String type,
java.lang.String text)
Logs the text specified. |
void |
logTransactionStart()
Logs an LT_TRANSTART entry. |
void |
prepare()
Prepares the file by checking if it has reached the maximum size and if so, archives it. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LoggerImpl(MerchantConfig _mc)
_mc - MerchantConfig object containing the logging parameters.| Method Detail |
|---|
public void prepare()
throws com.cybersource.ws.client.ConfigException
prepare in interface LoggerConfigException - if anything is missing or invalid in the
configuration.public void logTransactionStart()
logTransactionStart in interface Logger
public void log(java.lang.String type,
java.lang.String text)
log in interface Loggertype - the log entry type.text - the actual text to be logged.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||