C# Class XLog.NET.Targets.SyncFileTarget

Inheritance: Target, IFileTarget
Afficher le fichier Open project: Belorus/XLog Class Usage Examples

Méthodes publiques

Méthode Description
Flush ( ) : void
GetLastLogs ( ) : string
SyncFileTarget ( IFormatter formatter, string logFilePath, bool autoFlush = false ) : System
SyncFileTarget ( string logFilePath ) : System
Write ( string content ) : void

Private Methods

Méthode Description
ReadFileContentsSafe ( FileInfo f ) : string

Method Details

Flush() public méthode

public Flush ( ) : void
Résultat void

GetLastLogs() public méthode

public GetLastLogs ( ) : string
Résultat string

SyncFileTarget() public méthode

public SyncFileTarget ( IFormatter formatter, string logFilePath, bool autoFlush = false ) : System
formatter IFormatter
logFilePath string
autoFlush bool
Résultat System

SyncFileTarget() public méthode

public SyncFileTarget ( string logFilePath ) : System
logFilePath string
Résultat System

Write() public méthode

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