Ads API .NET library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Google.Api.Ads.Common.Logging.TraceFormatter Class Referenceabstract

Formats a Trace message. More...

Inheritance diagram for Google.Api.Ads.Common.Logging.TraceFormatter:
Google.Api.Ads.Common.Logging.DefaultBodyFormatter Google.Api.Ads.Common.Logging.JsonBodyFormatter Google.Api.Ads.Common.Logging.KeyValueMessageFormatter Google.Api.Ads.Common.Logging.SoapTraceFormatter Google.Api.Ads.Common.Logging.UrlEncodedBodyFormatter

Public Member Functions

abstract string MaskContents (string body, ISet< string > keysToMask)
 Masks the contents of the traced message. More...
 

Public Attributes

const string MASK_PATTERN = "REDACTED"
 The mask pattern to be used when masking sensitive data in logs. More...
 

Detailed Description

Formats a Trace message.

Member Function Documentation

abstract string Google.Api.Ads.Common.Logging.TraceFormatter.MaskContents ( string  body,
ISet< string >  keysToMask 
)
pure virtual

Masks the contents of the traced message.

Parameters
bodyThe message body.
keysToMaskThe keys for which values should be masked in the message body.
Returns
The formatted message body.

Implemented in Google.Api.Ads.Common.Logging.SoapTraceFormatter, Google.Api.Ads.Common.Logging.DefaultBodyFormatter, Google.Api.Ads.Common.Logging.JsonBodyFormatter, Google.Api.Ads.Common.Logging.KeyValueMessageFormatter, and Google.Api.Ads.Common.Logging.UrlEncodedBodyFormatter.

Member Data Documentation

const string Google.Api.Ads.Common.Logging.TraceFormatter.MASK_PATTERN = "REDACTED"

The mask pattern to be used when masking sensitive data in logs.


The documentation for this class was generated from the following file: