-
Notifications
You must be signed in to change notification settings - Fork 249
Enable Custom log-level for Classes via log-level Filters #2620
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
9470c93
Added logic to check have multiple log-level filters
RubenCerna2079 db12b75
Added logic to check have multiple log-level filters
RubenCerna2079 52801fe
Added new file
RubenCerna2079 74dfb12
Test failure fixes
RubenCerna2079 24c3d2c
Merge Conflict Resolution
RubenCerna2079 7a2801d
Changes based on comments
RubenCerna2079 069d647
Changes based on comments
RubenCerna2079 d82d558
Comment Changes
RubenCerna2079 593c0aa
Comment Changes
RubenCerna2079 662ae87
Comment Changes
RubenCerna2079 6bd7c6f
Added missing file
RubenCerna2079 4a6a28e
Change use of hard coded string
RubenCerna2079 0e83f12
Merge branch 'main' into dev/rubencerna/Add_LogLevel_Filters
RubenCerna2079 415d638
Fix test cases
RubenCerna2079 1e0f039
Fixed use of hard coded strings
RubenCerna2079 76ae1e6
Changes based on comments
RubenCerna2079 aeb3b1e
Added missing file
RubenCerna2079 86f9ee0
Comment Changes
RubenCerna2079 a55a773
Fixed build error
RubenCerna2079 48c45e7
Merge branch 'main' into dev/rubencerna/Add_LogLevel_Filters
RubenCerna2079 80dd132
Comment Changes
RubenCerna2079 7d5ad3f
Merge branch 'main' into dev/rubencerna/Add_LogLevel_Filters
RubenCerna2079 53cacb6
Solve merge conflict
RubenCerna2079 63f7963
Changes based on comments
RubenCerna2079 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
// Copyright (c) Microsoft Corporation. | ||
// Licensed under the MIT License. | ||
|
||
namespace Azure.DataApiBuilder.Core.Configurations | ||
{ | ||
public static class LoggerFilters | ||
{ | ||
public static List<string> validFilters = new(); | ||
|
||
public static void AddFilter(string? loggerFilter) | ||
{ | ||
if (loggerFilter != null) | ||
{ | ||
validFilters.Add(loggerFilter); | ||
} | ||
} | ||
} | ||
} |
This file contains hidden or 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.