C# Class MetroLog.FileTarget

Inheritance: MetroLog.Targets.FileTargetBase
Afficher le fichier Open project: onovotny/MetroLog

Méthodes publiques

Méthode Description
EnsureInitializedAsync ( ) : Task

Méthodes protégées

Méthode Description
DoCleanup ( Regex pattern, System.DateTime threshold ) : Task
DoWriteAsync ( StreamWriter streamWriter, string contents, LogEventInfo entry ) : Task
EnsureInitialized ( ) : Task
FileTarget ( Layout layout ) : System
GetCompressedLogsInternal ( ) : Task
GetWritableStreamForFile ( string fileName ) : Task
WriteTextToFileCore ( StreamWriter stream, string contents ) : Task

Private Methods

Méthode Description
GetUserAppDataPath ( ) : string

Method Details

DoCleanup() protected final méthode

protected final DoCleanup ( Regex pattern, System.DateTime threshold ) : Task
pattern System.Text.RegularExpressions.Regex
threshold System.DateTime
Résultat Task

DoWriteAsync() protected final méthode

protected final DoWriteAsync ( StreamWriter streamWriter, string contents, LogEventInfo entry ) : Task
streamWriter System.IO.StreamWriter
contents string
entry LogEventInfo
Résultat Task

EnsureInitialized() protected méthode

protected EnsureInitialized ( ) : Task
Résultat Task

EnsureInitializedAsync() public static méthode

public static EnsureInitializedAsync ( ) : Task
Résultat Task

FileTarget() protected méthode

protected FileTarget ( Layout layout ) : System
layout MetroLog.Layouts.Layout
Résultat System

GetCompressedLogsInternal() protected méthode

protected GetCompressedLogsInternal ( ) : Task
Résultat Task

GetWritableStreamForFile() protected méthode

protected GetWritableStreamForFile ( string fileName ) : Task
fileName string
Résultat Task

WriteTextToFileCore() protected abstract méthode

protected abstract WriteTextToFileCore ( StreamWriter stream, string contents ) : Task
stream System.IO.StreamWriter
contents string
Résultat Task