Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

LogFactory - Obsoleted GetLogger should not throw exceptions when invalid logger-type - #5255

#5255
Merged
snakefoot merged 1 commit into
NLog:devNLog/NLog:devfrom
snakefoot:logfactory_custom_loggersnakefoot/NLog:logfactory_custom_loggerCopy head branch name to clipboard
Jun 13, 2023
Merged

LogFactory - Obsoleted GetLogger should not throw exceptions when invalid logger-type#5255
snakefoot merged 1 commit into
NLog:devNLog/NLog:devfrom
snakefoot:logfactory_custom_loggersnakefoot/NLog:logfactory_custom_loggerCopy head branch name to clipboard

Conversation

@snakefoot

@snakefoot snakefoot commented Jun 13, 2023

Copy link
Copy Markdown
Contributor

Only throw first-chance-exception, when ThrowExceptions = true else just fail silently like before (fallback to default Logger).

Reverting behavior change introduced with #5191. See also #5252

Not sure I like the behavior of silently failing, but luckily the GetLogger-method is obsolete :)

@snakefoot snakefoot added the enhancement Improvement on existing feature label Jun 13, 2023
@snakefoot snakefoot closed this Jun 13, 2023
@snakefoot snakefoot reopened this Jun 13, 2023
@sonarqubecloud

Copy link
Copy Markdown

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

100.0% 100.0% Coverage
0.0% 0.0% Duplication

@snakefoot
snakefoot merged commit cea4c43 into NLog:dev Jun 13, 2023
@snakefoot snakefoot added this to the 5.2.1 milestone Jun 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement Improvement on existing feature size/S

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Morty Proxy This is a proxified and sanitized view of the page, visit original site.