|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.api.adwords.lib.AdWordsServiceLogger
public class AdWordsServiceLogger
Provides utility methods to cause the contents of AdWordsService messages to be logged as Web Service operations are performed.
| Method Summary | |
|---|---|
static void |
log()
Causes the contents of all AdWordsService requests and responses to be written to System.err. |
static void |
logToFile(java.lang.String filename)
Causes the contents of all AdWordsService requests and responses to be written to the file named by filename. |
static void |
logToStream(java.io.OutputStream out)
Causes the contents of all AdWordsService requests and responses to be written to the specified OutputStream. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static void logToStream(java.io.OutputStream out)
Developers familiar with java.util.logging are encouraged to configure logging directly.
out - the OutputStream to which to write AdWordsService messages.
public static void logToFile(java.lang.String filename)
throws java.io.FileNotFoundException
filename.
Developers familiar with java.util.logging are encouraged to configure logging directly.
filename - the name of the file to which to write AdWordsService
messages.
java.io.FileNotFoundException - if the specified file cannot be opened for
writing.public static void log()
System.err.
Developers familiar with java.util.logging are encouraged to configure logging directly.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||