C# Class Serilog.Parameters.PropertyValueConverter

Inheritance: ILogEventPropertyFactory, ILogEventPropertyValueFactory
Exibir arquivo Open project: serilog/serilog Class Usage Examples

Public Methods

Method Description
CreateProperty ( string name, object value, bool destructureObjects = false ) : LogEventProperty
CreatePropertyValue ( object value, Destructuring destructuring ) : LogEventPropertyValue
CreatePropertyValue ( object value, bool destructureObjects = false ) : LogEventPropertyValue
PropertyValueConverter ( int maximumDestructuringDepth, IEnumerable additionalScalarTypes, IEnumerable additionalDestructuringPolicies, bool propagateExceptions ) : System

Private Methods

Method Description
CreatePropertyValue ( object value, Destructuring destructuring, int depth ) : LogEventPropertyValue
CreatePropertyValue ( object value, bool destructureObjects, int depth ) : LogEventPropertyValue
GetProperties ( object value, ILogEventPropertyValueFactory recursive ) : IEnumerable
IsCompilerGeneratedType ( Type type ) : bool
IsValidDictionaryKeyType ( Type valueType ) : bool
IsValueTypeDictionary ( Type valueType ) : bool

Method Details

CreateProperty() public method

public CreateProperty ( string name, object value, bool destructureObjects = false ) : LogEventProperty
name string
value object
destructureObjects bool
return Serilog.Events.LogEventProperty

CreatePropertyValue() public method

public CreatePropertyValue ( object value, Destructuring destructuring ) : LogEventPropertyValue
value object
destructuring Destructuring
return Serilog.Events.LogEventPropertyValue

CreatePropertyValue() public method

public CreatePropertyValue ( object value, bool destructureObjects = false ) : LogEventPropertyValue
value object
destructureObjects bool
return Serilog.Events.LogEventPropertyValue

PropertyValueConverter() public method

public PropertyValueConverter ( int maximumDestructuringDepth, IEnumerable additionalScalarTypes, IEnumerable additionalDestructuringPolicies, bool propagateExceptions ) : System
maximumDestructuringDepth int
additionalScalarTypes IEnumerable
additionalDestructuringPolicies IEnumerable
propagateExceptions bool
return System