C# Class Microsoft.Common.Core.Logging.FileLogWriter

Inheritance: IActionLogWriter
Afficher le fichier Open project: Microsoft/RTVS Class Usage Examples

Méthodes publiques

Méthode Description
Flush ( ) : void
InTempFolder ( string fileName ) : FileLogWriter
WriteAsync ( MessageCategory category, string message ) : Task

Private Methods

Méthode Description
FileLogWriter ( string filePath ) : System
GetCategoryString ( MessageCategory category ) : string
GetStringToWrite ( MessageCategory category, string message ) : string
OnProcessExit ( object sender, EventArgs e ) : void
OnUnhandledException ( object sender, UnhandledExceptionEventArgs e ) : void
WriteBuffer ( string message, bool flush ) : Task
WriteToFile ( string message ) : Task

Method Details

Flush() public méthode

public Flush ( ) : void
Résultat void

InTempFolder() public static méthode

public static InTempFolder ( string fileName ) : FileLogWriter
fileName string
Résultat FileLogWriter

WriteAsync() public méthode

public WriteAsync ( MessageCategory category, string message ) : Task
category MessageCategory
message string
Résultat Task