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

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

Public Methods

Method Description
DefaultTraceWriter ( AppConfig config ) : System

Overloaded constructor.

Write ( string soapLog, string requestLog ) : void

Write the SOAP and HTTP trace logs.

Private Methods

Method Description
WriteToFile ( string fileName, string logText ) : void

Writes a log string into a specified log file.

Method Details

DefaultTraceWriter() public method

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

Write() public method

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.
return void