-
Notifications
You must be signed in to change notification settings - Fork 206
Common.Logging.NLog not available for net core #147
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
Comments
@jwaimann : What I did is create an NLog adapter compatible with netstandard. See https://github.com/LHCGreg/animerecs/tree/589ff87/Common.Logging.NLogNetStandard. I just had to take the files that Common.Logging.NLog444 uses, make two modifications, and reference NLog 5.0.0-beta09 and Common.Logging 3.4.0-Beta2. The two modifications were:
I'd submit a PR but I'm not sure how the maintainers want to do multitargeting. Using the new csproj project style ("SDK style") would allow much easier multitargeting than the current setup with .DotNetCore, .Silverlight, etc projects. |
See #148 for our intended approach to this. Would be interested in feedback from everyone on this thread/issue. |
Closing this issue as superseded by #148. |
Created PR #176 for resolving this. (Includes custom build of nuget-package as attachment) |
I'm currently using Common.Logging version 3.4.0-beta2 and NLog 5.0.0-beta07 on netcoreapp1.1.
I cannot find Common.Logging.NLog specific version for that case.
In case it is not yet available, which log file option do I have as adapter for net core?
Thanks in advance.
The text was updated successfully, but these errors were encountered: