I have a .Net Web Application which I am successfully logging to file using Serilog and the File Sink. The main application is setting up the logger in the global.asax application start.
The web application assesses web services (also written by me) and I want to log from within the web-service (asmx) but I can't get it to write anything. I have tried multiple ways including setting up the LoggerConfiguration directly before calling the Log functions but with no luck. I have also enabled SelfLog and nothing is output.
Any assistance would be greatly appreciated - I've been googling this all day.