C# Class SharpRaven.Logging.LogScrubber

Scrubs a JSON packet for sensitive information with CreditCardFilter, PhoneNumberFilter and SocialSecurityFilter.
Inheritance: IScrubber
Afficher le fichier Open project: getsentry/raven-csharp Class Usage Examples

Méthodes publiques

Méthode Description
LogScrubber ( ) : System

Initializes a new instance of the LogScrubber class and adds CreditCardFilter and US-style PhoneNumberFilter to the filter collection used to scrub the JSON packet.

Scrub ( string input ) : string

The main interface for scrubbing a JSON packet, called before compression (if enabled)

Method Details

LogScrubber() public méthode

Initializes a new instance of the LogScrubber class and adds CreditCardFilter and US-style PhoneNumberFilter to the filter collection used to scrub the JSON packet.
public LogScrubber ( ) : System
Résultat System

Scrub() public méthode

The main interface for scrubbing a JSON packet, called before compression (if enabled)
public Scrub ( string input ) : string
input string The serialized JSON packet is given here.
Résultat string