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

Application event logger
Inheritance: IActionLog, IDisposable
Afficher le fichier Open project: Microsoft/RTVS

Méthodes publiques

Méthode Description
Dispose ( ) : void
Flush ( ) : void
WriteAsync ( LogVerbosity verbosity, MessageCategory category, string message ) : System.Threading.Tasks.Task
WriteFormatAsync ( LogVerbosity verbosity, MessageCategory category, string format ) : System.Threading.Tasks.Task
WriteLineAsync ( LogVerbosity verbosity, MessageCategory category, string message ) : System.Threading.Tasks.Task

Private Methods

Méthode Description
EnsureCreatedAsync ( ) : System.Threading.Tasks.Task
Logger ( string appName, ILoggingPermissions permissions, IActionLogWriter writer ) : System

Method Details

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Flush() public méthode

public Flush ( ) : void
Résultat void

WriteAsync() public méthode

public WriteAsync ( LogVerbosity verbosity, MessageCategory category, string message ) : System.Threading.Tasks.Task
verbosity LogVerbosity
category MessageCategory
message string
Résultat System.Threading.Tasks.Task

WriteFormatAsync() public méthode

public WriteFormatAsync ( LogVerbosity verbosity, MessageCategory category, string format ) : System.Threading.Tasks.Task
verbosity LogVerbosity
category MessageCategory
format string
Résultat System.Threading.Tasks.Task

WriteLineAsync() public méthode

public WriteLineAsync ( LogVerbosity verbosity, MessageCategory category, string message ) : System.Threading.Tasks.Task
verbosity LogVerbosity
category MessageCategory
message string
Résultat System.Threading.Tasks.Task