-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Validate input string passed to LogValuesFormatter (#43238)
Add validation of a format string passed to LogValuesFormatter to throw `ArgumentNullException` if the string is `null` so that all the methods of the `LogMessage.Define` group depending on that class doesn't throw `NullReferenceException` when configuring a logger. Fix #36565
- Loading branch information
1 parent
7ca6d85
commit 2ca0b93
Showing
2 changed files
with
25 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters