C# 클래스 GitScc.Blinkbox.BuildNotificationLogger

Sends build messages to the VS output window
상속: ILogger
파일 보기 프로젝트 열기: blinkbox/Git-Source-Control-Provider

공개 메소드들

메소드 설명
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.

비공개 메소드들

메소드 설명
OutputMessage ( MessageImportance importance ) : bool

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

메소드 상세

BuildNotificationLogger() 공개 메소드

Initializes a new instance of the BuildNotificationLogger class.
public BuildNotificationLogger ( NotificationService notifications ) : System
notifications NotificationService The notifications.
리턴 System

HandleError() 공개 메소드

Outputs an error.
public HandleError ( Microsoft.Build.Framework.BuildErrorEventArgs error ) : void
error Microsoft.Build.Framework.BuildErrorEventArgs /// The error. ///
리턴 void

HandleMessage() 공개 메소드

Handle a raised message.
public HandleMessage ( string message, MessageImportance importance = MessageImportance.Normal ) : void
message string /// The message. ///
importance MessageImportance /// The importance. ///
리턴 void

HandleWarning() 공개 메소드

Outputs a warning.
public HandleWarning ( Microsoft.Build.Framework.BuildWarningEventArgs warning ) : void
warning Microsoft.Build.Framework.BuildWarningEventArgs /// The warning. ///
리턴 void

Initialize() 공개 메소드

Initialises the logger.
public Initialize ( IEventSource buildEventSource ) : void
buildEventSource IEventSource /// The event source. ///
리턴 void

Shutdown() 공개 메소드

Cleans up.
public Shutdown ( ) : void
리턴 void