Explaining Logging
Closed this issue · 1 comments
Devqon commented
In one of the first steps in the YourFirstOrchardCoreController
it is explained that the _logger
logs to a file through NLog.
When not using the OrchardCore source code, it should be explained that to get this working the developer should:
- Install
OrchardCore.Logging.NLog
in the web application - Add an NLog.config
- Add
ConfigureLogging()
to Program.cs
Piedone commented
It's easier to use the codegen template that offers this by default :). I've added emphasis for that to the Readme.