C# Class XLog.Formatters.LineFormatter

Inheritance: IFormatter
Afficher le fichier Open project: Belorus/XLog Class Usage Examples

Méthodes publiques

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

Private Methods

Méthode 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 méthode

public Format ( Entry entry ) : string
entry Entry
Résultat string

FormatSlow() public méthode

public FormatSlow ( Entry entry ) : string
entry Entry
Résultat string

LineFormatter() public méthode

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