Closed adnan-kamili closed 3 years ago
Args
are case sensitive. It is webhookUrl not WebHookUrl
"Using": [
"Serilog.Sinks.Slack"
],
"WriteTo": [
{
"Name": "Slack",
"Args": {
"restrictedToMinimumLevel": "Information",
"webhookUrl": "https://hooks.slack.com/services/???",
"batchSizeLimit": 20,
"customUsername": "MyApp",
"customIcon": ":rotating_light:",
"period": "00:00:10",
"showDefaultAttachments": false,
"showExceptionAttachments": true
}
}
]
This issue seems to have been resolved. Closing.
Damn, this project is alive :) GJ @TrapperHell !
I tried using the sink using https://github.com/serilog/serilog-settings-configuration but it didn't work: