C# 클래스 SharpRaven.Logging.LogScrubber

Scrubs a JSON packet for sensitive information with CreditCardFilter, PhoneNumberFilter and SocialSecurityFilter.
상속: IScrubber
파일 보기 프로젝트 열기: getsentry/raven-csharp 1 사용 예제들

공개 메소드들

메소드 설명
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