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

Formats a URL encoded HTTP trace message by masking out sensitive fields. More...

Inheritance diagram for Google.Api.Ads.Common.Logging.UrlEncodedBodyFormatter:
Google.Api.Ads.Common.Logging.TraceFormatter

Public Member Functions

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

Additional Inherited Members

- Public Attributes inherited from Google.Api.Ads.Common.Logging.TraceFormatter
const string MASK_PATTERN = "REDACTED"
 The mask pattern to be used when masking sensitive data in logs. More...
 

Detailed Description

Formats a URL encoded HTTP trace message by masking out sensitive fields.

Member Function Documentation

override string Google.Api.Ads.Common.Logging.UrlEncodedBodyFormatter.MaskContents ( string  body,
ISet< string >  keysToMask 
)
inlinevirtual

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.

Implements Google.Api.Ads.Common.Logging.TraceFormatter.


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