C# Class Serilog.Parameters.PropertyValueConverter

Inheritance: ILogEventPropertyFactory, ILogEventPropertyValueFactory
Afficher le fichier Open project: serilog/serilog Class Usage Examples

Méthodes publiques

Méthode 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

Méthode 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 méthode

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

CreatePropertyValue() public méthode

public CreatePropertyValue ( object value, Destructuring destructuring ) : LogEventPropertyValue
value object
destructuring Destructuring
Résultat Serilog.Events.LogEventPropertyValue

CreatePropertyValue() public méthode

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

PropertyValueConverter() public méthode

public PropertyValueConverter ( int maximumDestructuringDepth, IEnumerable additionalScalarTypes, IEnumerable additionalDestructuringPolicies, bool propagateExceptions ) : System
maximumDestructuringDepth int
additionalScalarTypes IEnumerable
additionalDestructuringPolicies IEnumerable
propagateExceptions bool
Résultat System