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

InternalLogger - Obsoleted API to reduce dependencies - #5443

#5443
Merged
snakefoot merged 2 commits into
NLog:devNLog/NLog:devfrom
snakefoot:internallogger-obsoletesnakefoot/NLog:internallogger-obsoleteCopy head branch name to clipboard
Mar 30, 2024
Merged

InternalLogger - Obsoleted API to reduce dependencies#5443
snakefoot merged 2 commits into
NLog:devNLog/NLog:devfrom
snakefoot:internallogger-obsoletesnakefoot/NLog:internallogger-obsoleteCopy head branch name to clipboard

Conversation

@snakefoot

@snakefoot snakefoot commented Dec 21, 2023

Copy link
Copy Markdown
Contributor
  • Waiting for NLog v5.3

Just like LogFactory should be platform-independent (Not require console or filesystem), then the same goes for InternalLogger.

Seems it is enough to just disconnect InternalLogger from the actual console- and file-writing (changed to subscription-logic). So now it is only when directly using LogToConsole- or LogFile-property, that the penalty comes.

@snakefoot snakefoot added the breaking behavior change Same API, different result label Dec 21, 2023
@snakefoot
snakefoot force-pushed the internallogger-obsolete branch 12 times, most recently from 98e6d25 to 18cce0a Compare December 22, 2023 08:27
@snakefoot

Copy link
Copy Markdown
Contributor Author

This might not be the best name, as some might think this will be triggered for all LogEvents produced by the application:

public static event InternalLogEventPublishedHandler LogEventPublished;

@snakefoot
snakefoot force-pushed the internallogger-obsolete branch 3 times, most recently from 1bb4add to 8cd1064 Compare January 2, 2024 21:10
@sonarqubecloud

sonarqubecloud Bot commented Jan 2, 2024

Copy link
Copy Markdown

Quality Gate Passed Quality Gate passed

The SonarCloud Quality Gate passed, but some issues were introduced.

1 New issue
0 Security Hotspots
92.4% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud

@snakefoot
snakefoot force-pushed the internallogger-obsolete branch 3 times, most recently from b297d88 to 0db4151 Compare March 24, 2024 13:24
@snakefoot
snakefoot force-pushed the internallogger-obsolete branch from 0db4151 to ac2d4b6 Compare March 24, 2024 13:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

breaking behavior change Same API, different result size/XL

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.