Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
  • Loading branch information
Yun-Ting committed Apr 15, 2022
1 parent 426a797 commit f4109ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/logs/extending-the-sdk/MyRedactionProcessor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public override void OnEnd(LogRecord logRecord)
Console.WriteLine($"{this.name}.OnEnd(logRecord.FormattedMessage before redaction: {logRecord.FormattedMessage})");
if (logRecord.FormattedMessage.Contains("sensitive information"))
{
logRecord.FormattedMessage = "This message contains sensitive information and is thus redacted.";
logRecord.FormattedMessage = "This message is redacted.";
}

Console.WriteLine($"{this.name}.OnEnd(logRecord.FormattedMessage after redaction: {logRecord.FormattedMessage})");
Expand Down

0 comments on commit f4109ec

Please sign in to comment.