|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.api.ads.common.lib.utils.logging.AdsServiceLoggers
public class AdsServiceLoggers
The class AdsServiceLogger allows logging of outgoing and
incoming SOAP XML messages as API calls are executed.
| Field Summary | |
|---|---|
static org.slf4j.Logger |
ADS_API_LIB_LOG
The client library logger. |
| Constructor Summary | |
|---|---|
protected |
AdsServiceLoggers(PrettyPrinterInterface prettyPrinter,
org.slf4j.Logger soapXmlLogger,
org.slf4j.Logger requestInfoLogger)
Constructor. |
| Method Summary | |
|---|---|
org.slf4j.Logger |
getLibLogger()
Gets the client library info logger. |
void |
logRequest(SoapCallReturn soapCallReturn)
Logs basic information on a SOAP request. |
void |
logSoapXml(SoapCallReturn soapCallReturn)
Logs the XML messages from a given SOAP interaction. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final org.slf4j.Logger ADS_API_LIB_LOG
| Constructor Detail |
|---|
@Inject
protected AdsServiceLoggers(PrettyPrinterInterface prettyPrinter,
org.slf4j.Logger soapXmlLogger,
org.slf4j.Logger requestInfoLogger)
prettyPrinter - an object capable of pretty printing XML messagessoapXmlLogger - the SOAP XML loggerrequestInfoLogger - the request info logger| Method Detail |
|---|
public org.slf4j.Logger getLibLogger()
public void logSoapXml(SoapCallReturn soapCallReturn)
soapCallReturn - information on the SOAP call to be loggedpublic void logRequest(SoapCallReturn soapCallReturn)
soapCallReturn - information on the SOAP call to be logged
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||