Skip to content
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

NLog v5.2 will no longer perform any assembly loading and scanning during initialization #118

Open
czd890 opened this issue Aug 10, 2023 · 1 comment

Comments

@czd890
Copy link

czd890 commented Aug 10, 2023

https://nlog-project.org/2023/05/30/nlog-5-2-trim-warnings.html

@snakefoot
Copy link
Contributor

snakefoot commented Aug 10, 2023

Unless explicitly requested, like this in NLog.config:

  <extensions>
    <add assembly="SumoLogic.Logging.NLog"/>
  </extensions>

But it is nice to provide a NLog.LogManager.Setup()-extension-method, to register-library-extensions from code, instead of relying on assembly-scanning.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants