Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I am trying to add another logger to Umbraco (Serilog Email Sink), however, I am unsure where to add the logger in Startup.cs. I am on Umbraco V13.
I know how to create the new LoggerConfiguration, but what I don't knwo is what to do with it then :-)
LoggerConfiguration
I try to do it in code, rather than in appsettings.json, since this way, it is easier to pull in secret credential information from other places.
Any hint appreciated :-) ! Kind regards, Mikael
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Adding another logger to Umbraco (V13)
I am trying to add another logger to Umbraco (Serilog Email Sink), however, I am unsure where to add the logger in Startup.cs. I am on Umbraco V13.
I know how to create the new
LoggerConfiguration
, but what I don't knwo is what to do with it then :-)I try to do it in code, rather than in appsettings.json, since this way, it is easier to pull in secret credential information from other places.
Any hint appreciated :-) ! Kind regards, Mikael
is working on a reply...