Hey,
this contains a bad practise, as you never should hardcode your logger configuration. When doing this you need to adjust the code, rebuild your application and redeploy it to simply get some more details to analyse bugs and issues.
Serilog supports configuration via appsettings, I think you should use and teach that approach!
In general I've used NLog and Serilog, I would recommend NLog instead of Serilog, but this is obviously my personal oppinion.
Best regards