Open
Description
by browsing through source code and other issues I have figured out that I can add Serilog Mail sink in appsettings as follows:
"Name": "Email",
"Args": {
"From": "[email protected]",
"To": "[email protected]",
"Host": "localhost",
"Port": 25,
"Subject": "[{Level}] Log Email",
"Body": "{Timestamp:yyyy-MM-dd HH:mm} [{Level}] <{MachineName}> {Message}{NewLine}{Exception}",
"RestrictedToMinimumLevel": "Warning",
But I have no clue how to set BatchSizeLimit. Do I really need to create a custom extension for LoggerSinkConfiguration?
Metadata
Metadata
Assignees
Labels
No labels