C# Class GitScc.Blinkbox.BuildNotificationLogger

Sends build messages to the VS output window
Inheritance: ILogger
Afficher le fichier Open project: blinkbox/Git-Source-Control-Provider

Méthodes publiques

Méthode Description
BuildNotificationLogger ( NotificationService notifications ) : System

Initializes a new instance of the BuildNotificationLogger class.

HandleError ( Microsoft.Build.Framework.BuildErrorEventArgs error ) : void

Outputs an error.

HandleMessage ( string message, MessageImportance importance = MessageImportance.Normal ) : void

Handle a raised message.

HandleWarning ( Microsoft.Build.Framework.BuildWarningEventArgs warning ) : void

Outputs a warning.

Initialize ( IEventSource buildEventSource ) : void

Initialises the logger.

Shutdown ( ) : void

Cleans up.

Private Methods

Méthode Description
OutputMessage ( MessageImportance importance ) : bool

Decides whether a message shuld be output depending on the verbosity of the logger.

Method Details

BuildNotificationLogger() public méthode

Initializes a new instance of the BuildNotificationLogger class.
public BuildNotificationLogger ( NotificationService notifications ) : System
notifications NotificationService The notifications.
Résultat System

HandleError() public méthode

Outputs an error.
public HandleError ( Microsoft.Build.Framework.BuildErrorEventArgs error ) : void
error Microsoft.Build.Framework.BuildErrorEventArgs /// The error. ///
Résultat void

HandleMessage() public méthode

Handle a raised message.
public HandleMessage ( string message, MessageImportance importance = MessageImportance.Normal ) : void
message string /// The message. ///
importance MessageImportance /// The importance. ///
Résultat void

HandleWarning() public méthode

Outputs a warning.
public HandleWarning ( Microsoft.Build.Framework.BuildWarningEventArgs warning ) : void
warning Microsoft.Build.Framework.BuildWarningEventArgs /// The warning. ///
Résultat void

Initialize() public méthode

Initialises the logger.
public Initialize ( IEventSource buildEventSource ) : void
buildEventSource IEventSource /// The event source. ///
Résultat void

Shutdown() public méthode

Cleans up.
public Shutdown ( ) : void
Résultat void