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

Default instance of TraceFormatter. This class doesn't do any formatting transformation. More...

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

Public Member Functions

 DefaultBodyFormatter ()
 Initializes a new instance of the DefaultBodyFormatter class. More...
 
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

Default instance of TraceFormatter. This class doesn't do any formatting transformation.

Constructor & Destructor Documentation

Google.Api.Ads.Common.Logging.DefaultBodyFormatter.DefaultBodyFormatter ( )
inline

Initializes a new instance of the DefaultBodyFormatter class.

Member Function Documentation

override string Google.Api.Ads.Common.Logging.DefaultBodyFormatter.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: