C# Class Google.Api.Ads.Common.Lib.DefaultTraceWriter

Default trace writer, that write trace to a file on disk.
Inheritance: TraceWriter
Afficher le fichier Open project: Zocdoc/googleads-adwords-dotnet-lib

Méthodes publiques

Méthode Description
DefaultTraceWriter ( AppConfig config ) : System

Overloaded constructor.

Write ( string soapLog, string requestLog ) : void

Write the SOAP and HTTP trace logs.

Private Methods

Méthode Description
WriteToFile ( string fileName, string logText ) : void

Writes a log string into a specified log file.

Method Details

DefaultTraceWriter() public méthode

Overloaded constructor.
public DefaultTraceWriter ( AppConfig config ) : System
config AppConfig The application configuration class for configuring /// this instance.
Résultat System

Write() public méthode

Write the SOAP and HTTP trace logs.
public Write ( string soapLog, string requestLog ) : void
soapLog string The SOAP log.
requestLog string The HTTP request log.
Résultat void