Thanks for writing this application, really appreciated, documented very well.
I was wondering, if there is way to configure this from appsettings.json
I have a file "appsettings.Testing.json" for all my testing related settings.
so that my serilog code will read this.
builder.Host.UseSerilog((context, services, configuration) => configuration .ReadFrom.Configuration(context.Configuration) .ReadFrom.Services(services) );
"WriteTo": [ { "Name": "InjectableTestOutputSink", "Args": { "restrictedToMinimumLevel": "Verbose", "outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss.fff zzz} [{SourceContext}] [{Level}] [InstanceId: {InstanceId}] [ReqId: {RequestId}] [CorrelationId: {CorrelationId}] {Message}{NewLine}{Exception}" } } ],
Thanks.