C# Class XLog.Formatters.LineFormatter

Inheritance: IFormatter
Exibir arquivo Open project: Belorus/XLog Class Usage Examples

Public Methods

Method Description
Format ( Entry entry ) : string
FormatSlow ( Entry entry ) : string
LineFormatter ( ICategoryFormatter categoryFormatter = null, bool doAsyncExceptionCleanup = true, LineEnding lineEnding = LineEnding.CRLF ) : XLog.Categories

Private Methods

Method Description
Append ( char buffer, char c ) : void
Append ( char buffer, string s ) : void
AppendDigitsFast ( char &buffer, int value, int maxLen, char padding = '0' ) : void

Method Details

Format() public method

public Format ( Entry entry ) : string
entry Entry
return string

FormatSlow() public method

public FormatSlow ( Entry entry ) : string
entry Entry
return string

LineFormatter() public method

public LineFormatter ( ICategoryFormatter categoryFormatter = null, bool doAsyncExceptionCleanup = true, LineEnding lineEnding = LineEnding.CRLF ) : XLog.Categories
categoryFormatter ICategoryFormatter
doAsyncExceptionCleanup bool
lineEnding LineEnding
return XLog.Categories