I added NLOG to the web API via the NuGet packages and log away quite happily.
Part of the NuGet are the files:
- NLog.config
- NLog.xsd
So I copied the two NLog files from the web API project and pasted them into the web site project.
I changed the logging file name. So I have web-site.log and web-api.log.
Works fine.
Enjoy!
No comments:
Post a Comment