C# Class XLog.NET.Targets.FastFileTarget

Inheritance: Target, ILogStorage
Afficher le fichier Open project: Belorus/XLog

Méthodes publiques

Méthode Description
FastFileTarget ( IFormatter formatter, string logFilePath ) : System.Collections.Concurrent
Flush ( ) : void
GetLastLogs ( ) : string
Write ( string content ) : void

Private Methods

Méthode Description
ReadFileContentsSafe ( FileInfo f ) : string
RunConsumer ( ) : void
Start ( ) : void

Method Details

FastFileTarget() public méthode

public FastFileTarget ( IFormatter formatter, string logFilePath ) : System.Collections.Concurrent
formatter IFormatter
logFilePath string
Résultat System.Collections.Concurrent

Flush() public méthode

public Flush ( ) : void
Résultat void

GetLastLogs() public méthode

public GetLastLogs ( ) : string
Résultat string

Write() public méthode

public Write ( string content ) : void
content string
Résultat void