C# Class Serilog.Events.LogEventProperty

A property associated with a LogEvent.
Afficher le fichier Open project: serilog/serilog Class Usage Examples

Méthodes publiques

Méthode Description
IsValidName ( string name ) : bool

Test name to determine if it is a valid property name.

LogEventProperty ( string name, LogEventPropertyValue value ) : System

Construct a LogEventProperty with the specified name and value.

Method Details

IsValidName() public static méthode

Test name to determine if it is a valid property name.
public static IsValidName ( string name ) : bool
name string The name to check.
Résultat bool

LogEventProperty() public méthode

Construct a LogEventProperty with the specified name and value.
public LogEventProperty ( string name, LogEventPropertyValue value ) : System
name string The name of the property.
value LogEventPropertyValue The value of the property.
Résultat System