C# 클래스 Serilog.Parsing.MessageTemplateToken

An element parsed from a message template string.
파일 보기 프로젝트 열기: serilog/serilog 1 사용 예제들

공개 메소드들

메소드 설명
Render ( LogEventPropertyValue>.IReadOnlyDictionary properties, TextWriter output, IFormatProvider formatProvider = null ) : void

Render the token to the output.

보호된 메소드들

메소드 설명
MessageTemplateToken ( int startIndex ) : System

Construct a MessageTemplateToken.

메소드 상세

MessageTemplateToken() 보호된 메소드

Construct a MessageTemplateToken.
protected MessageTemplateToken ( int startIndex ) : System
startIndex int The token's start index in the template.
리턴 System

Render() 공개 추상적인 메소드

Render the token to the output.
public abstract Render ( LogEventPropertyValue>.IReadOnlyDictionary properties, TextWriter output, IFormatProvider formatProvider = null ) : void
properties LogEventPropertyValue>.IReadOnlyDictionary Properties that may be represented by the token.
output System.IO.TextWriter Output for the rendered string.
formatProvider IFormatProvider Supplies culture-specific formatting information, or null.
리턴 void