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: cs.temp.dll.dll
Syntax
public class ThreadAbortExceptionEnricher : ILogEventEnricher
Constructors
ThreadAbortExceptionEnricher(IOptions<CoreDebugSettings>, IHostingEnvironment, IMarchal)
Declaration
public ThreadAbortExceptionEnricher(IOptions<CoreDebugSettings> coreDebugSettings, IHostingEnvironment hostingEnvironment, IMarchal marchal)
Parameters
Type | Name | Description |
---|---|---|
IOptions<Core |
coreDebugSettings | |
IHosting |
hostingEnvironment | |
IMarchal | marchal |
Methods
Enrich(LogEvent, ILogEventPropertyFactory)
Declaration
public void Enrich(LogEvent logEvent, ILogEventPropertyFactory propertyFactory)
Parameters
Type | Name | Description |
---|---|---|
Log |
logEvent | |
ILog |
propertyFactory |