C# Class Serilog.Exceptions.Destructurers.ExceptionEnricher

Enrich a LogEvent with details about an LogEvent.Exception if present. https://groups.google.com/forum/#!searchin/getseq/enhance$20exception/getseq/rsAL4u3JpLM/PrszbPbtEb0J
Inheritance: ILogEventEnricher
显示文件 Open project: NimbusAPI/Nimbus

Public Properties

Property Type Description
DefaultDestructurers IExceptionDestructurer[]
ReflectionBasedDestructurer IExceptionDestructurer

Public Methods

Method Description
Enrich ( LogEvent logEvent, ILogEventPropertyFactory propertyFactory ) : void
ExceptionEnricher ( ) : System
ExceptionEnricher ( IEnumerable destructurers ) : System

Private Methods

Method Description
DestructureException ( Exception exception ) : object>.Dictionary

Method Details

Enrich() public method

public Enrich ( LogEvent logEvent, ILogEventPropertyFactory propertyFactory ) : void
logEvent Serilog.Events.LogEvent
propertyFactory ILogEventPropertyFactory
return void

ExceptionEnricher() public method

public ExceptionEnricher ( ) : System
return System

ExceptionEnricher() public method

public ExceptionEnricher ( IEnumerable destructurers ) : System
destructurers IEnumerable
return System

Property Details

DefaultDestructurers public_oe static_oe property

public static IExceptionDestructurer[] DefaultDestructurers
return IExceptionDestructurer[]

ReflectionBasedDestructurer public_oe static_oe property

public static IExceptionDestructurer ReflectionBasedDestructurer
return IExceptionDestructurer