C# Класс SharpRaven.Logging.LogScrubber

Scrubs a JSON packet for sensitive information with CreditCardFilter, PhoneNumberFilter and SocialSecurityFilter.
Наследование: IScrubber
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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)

Описание методов

LogScrubber() публичный Метод

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
Результат System

Scrub() публичный Метод

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.
Результат string