How do I set Properties for Seq in my appsettings.json file?
In my seq logs there are no properties set and I couldn't find a way to set them via appsettings.json. I could set them with the method
.Enrich.WithProperty("App", "Absence Service")
but for dotnet core dependency injection I would prefer it to be set in the appsettings.json where it look like this:
"Seq": {
"ServerUrl": "xxxx",
"ApiKey": "xxxx",
"MinimumLevel": "Warning",
"LevelOverride": {
"Microsoft": "Error"
}
}
How do I set properties like for example the app or environment inside the appsettings.json?