Updated
This commit is contained in:
36
README.md
36
README.md
@@ -260,42 +260,6 @@ namespace EonaCat.Logger.Advanced
|
||||
}
|
||||
```
|
||||
|
||||
**Code for enabling keyword masking (default: false):**
|
||||
|
||||
```csharp
|
||||
Logger.LoggerSettings.UseMask = true;
|
||||
```
|
||||
|
||||
Sensitive information will be replaced with ****MASKED****
|
||||
You can add additional masking keywords using the MaskedKeywords property on the LoggerSettings object
|
||||
|
||||
You can also override the MaskSensitiveInformation method of the batchLoggingProvider to add your own masking
|
||||
|
||||
|
||||
Default maskings (when the masking is enabled):
|
||||
IP addresses
|
||||
MAC addresses
|
||||
Emails
|
||||
Passwords
|
||||
Credit card numbers
|
||||
Social security numbers (SSN) and BSN (Dutch Citizen Service Number)
|
||||
API keys/tokens
|
||||
Phone numbers (generic and Dutch specific)
|
||||
Dates of birth (DOB) or other date formats
|
||||
IBAN/Bank account numbers (generic and Dutch specific)
|
||||
JWT tokens
|
||||
URLs with sensitive query strings
|
||||
License keys
|
||||
Public and private keys (e.g., PEM format)
|
||||
Dutch KVK number (8 or 12 digits)
|
||||
Dutch BTW-nummer (VAT number)
|
||||
Dutch driving license number (10-12 characters)
|
||||
Dutch health insurance number (Zorgnummer)
|
||||
Other Dutch Bank Account numbers (9-10 digits)
|
||||
Dutch Passport Numbers (9 alphanumeric characters
|
||||
Dutch Identification Document Numbers (varying formats)
|
||||
Custom keywords specified in LoggerSettings
|
||||
|
||||
Header tokens:
|
||||
|
||||
{date} {time} {ts} {tz} {unix} {ticks}{newline}
|
||||
|
||||
Reference in New Issue
Block a user