0

Using code i am able to add header in file log:

WriteTo.File("logheadertest123.dll",
    hooks: new Serilog.Sinks.File.Header.HeaderWriter(headerFactory))

We should be able to Add Header in Files using app.config

How can i achieve this in app.config?

Ruben Bartelink
  • 59,778
  • 26
  • 187
  • 249

0 Answers0