Simple Serilog implementation with .Net Core Razor Pages on Azure.
For more info on Serilog visit their website or wiki.
Serilog
Serilog.Sinks.Console
Serilog.Sinks.File
To see Serilog in a local console window make sure you are running via Kestrel and not IIS. You can swithc to Kestrel by selecting the solution/project name from the debug server dropdown:
Text logs are stored in _logs folder and set to a daily rolling interval. Serilog has a vast array of other sinks available.