You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Serilog.Settings.AppSettings does not do "complex" object creation.
This Stack Overflow question offers a workaround. In the example, this is a workaround for the JSON settings, but you can do something similar, and then do this in your config :
<addkey="serilog:write-to:EmailCustom.param1"value="Test log from Serilog"/>
<addkey="serilog:write-to:EmailCustom.param2"value="Test log from Serilog"/>
How to specify the networkCredential param using xml in Serilog.Sinks.Email.
I try below but this cannot working
The text was updated successfully, but these errors were encountered: