We are migrating an existing umbraco on-prem website up to azure and I am currently looking at logging.
Has anyone else done this transition and would be willing to share some lessons learn?
Currently I am looking at adding an application insights sink to serilog. From what I can see the only way to add sinks is from appsettings.json. Or am I missing something? Reading the documnetation for the app insight sink it says that this in not recomended but I don't see how to add the sink with code instead,
https://github.com/serilog-contrib/serilog-sinks-applicationinsights#configuring