-
Notifications
You must be signed in to change notification settings - Fork 145
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[IAST] Minor cleanup in IAST aspects (#6293)
## Summary of changes - Make all aspects use the `IastModule.Log` object instead of their own - Use `Error` for cases where we know we're only going to get one log, and we really wouldn't expect to see it ## Reason for change Just noticed the differences/issues while working on something else ## Implementation details - `Log` -> `IastModule.Log` - `Warning` -> `Error` (in `NewtonsoftJsonAspects` only) ## Test coverage Covered by existing ## Other details The aspects are very inconsistent in that sometimes they call `Warning` and sometimes they call `Error`. We should consider unifying these one way or the other (or, in some cases where they will be called a _lot_ if there's an issue, use `Debug` to avoid many logs)
- Loading branch information
1 parent
bd8f5d5
commit fa63a0a
Showing
8 changed files
with
15 additions
and
32 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
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
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
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