C# Class Akka.Logger.Serilog.SerilogLogMessageFormatter

This class contains methods used to convert Serilog templated messages into normal text messages.
Inheritance: ILogMessageFormatter
显示文件 Open project: akkadotnet/Akka.Logger.Serilog

Public Methods

Method Description
Format ( string format ) : string

Converts the specified template string to a text string using the specified token array to match replacements.

SerilogLogMessageFormatter ( ) : System.Collections.Generic

Initializes a new instance of the SerilogLogMessageFormatter class.

Method Details

Format() public method

Converts the specified template string to a text string using the specified token array to match replacements.
public Format ( string format ) : string
format string The template string used in the conversion.
return string

SerilogLogMessageFormatter() public method

Initializes a new instance of the SerilogLogMessageFormatter class.
public SerilogLogMessageFormatter ( ) : System.Collections.Generic
return System.Collections.Generic