Class ThreadAbortExceptionEnricher
Enriches the log if there are ThreadAbort exceptions and will automatically create a minidump if it can
Inheritance
System.Object
Namespace: Umbraco.Cms.Core.Logging.Serilog.Enrichers
Assembly: Umbraco.Infrastructure.dll
Syntax
public class ThreadAbortExceptionEnricher : ILogEventEnricher
Constructors
View SourceThreadAbortExceptionEnricher(IOptionsMonitor<CoreDebugSettings>, IHostingEnvironment, IMarchal)
Declaration
public ThreadAbortExceptionEnricher(IOptionsMonitor<CoreDebugSettings> coreDebugSettings, IHostingEnvironment hostingEnvironment, IMarchal marchal)
Parameters
Type | Name | Description |
---|---|---|
IOptions |
coreDebugSettings | |
IHosting |
hostingEnvironment | |
IMarchal | marchal |
Methods
View SourceEnrich(LogEvent, ILogEventPropertyFactory)
Declaration
public void Enrich(LogEvent logEvent, ILogEventPropertyFactory propertyFactory)
Parameters
Type | Name | Description |
---|---|---|
Log |
logEvent | |
ILog |
propertyFactory |