C# Class Microsoft.Azure.WebJobs.Script.FileTraceWriter

Inheritance: Microsoft.Azure.WebJobs.Host.TraceWriter
Afficher le fichier Open project: Azure/azure-webjobs-sdk-script Class Usage Examples

Méthodes publiques

Méthode Description
Dispose ( ) : void
FileTraceWriter ( string logFilePath, TraceLevel level ) : System
Flush ( ) : void
Trace ( TraceEvent traceEvent ) : void

Méthodes protégées

Méthode Description
AppendLine ( string line ) : void
Dispose ( bool disposing ) : void

Private Methods

Méthode Description
DeleteFiles ( IEnumerable filesToPurge ) : void
GetInstanceId ( ) : string
GetLogFiles ( DirectoryInfo directory ) : IEnumerable
OnFlushLogs ( object sender, ElapsedEventArgs e ) : void
SetNewLogFile ( ) : void

Method Details

AppendLine() protected méthode

protected AppendLine ( string line ) : void
line string
Résultat void

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Dispose() protected méthode

protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

FileTraceWriter() public méthode

public FileTraceWriter ( string logFilePath, TraceLevel level ) : System
logFilePath string
level TraceLevel
Résultat System

Flush() public méthode

public Flush ( ) : void
Résultat void

Trace() public méthode

public Trace ( TraceEvent traceEvent ) : void
traceEvent TraceEvent
Résultat void