C# 클래스 Serilog.Events.LogEventProperty

A property associated with a LogEvent.
파일 보기 프로젝트 열기: serilog/serilog 1 사용 예제들

공개 메소드들

메소드 설명
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.

메소드 상세

IsValidName() 공개 정적인 메소드

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

LogEventProperty() 공개 메소드

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.
리턴 System