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

Inheritance: Microsoft.Azure.WebJobs.Host.TraceWriter
Exibir arquivo Open project: Azure/azure-webjobs-sdk-script Class Usage Examples

Public Methods

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

Protected Methods

Method Description
AppendLine ( string line ) : void
Dispose ( bool disposing ) : void

Private Methods

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

Method Details

AppendLine() protected method

protected AppendLine ( string line ) : void
line string
return void

Dispose() public method

public Dispose ( ) : void
return void

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

FileTraceWriter() public method

public FileTraceWriter ( string logFilePath, TraceLevel level ) : System
logFilePath string
level TraceLevel
return System

Flush() public method

public Flush ( ) : void
return void

Trace() public method

public Trace ( TraceEvent traceEvent ) : void
traceEvent TraceEvent
return void