C# Class WebApplications.Utilities.Initializer.Test.UnitTestBuildLogger

Implements a logger for use by a project builder during testing.
Inheritance: Logger
ファイルを表示 Open project: webappsuk/CoreLibraries Class Usage Examples

Public Methods

Method Description
Initialize ( IEventSource eventSource ) : void

Initialize is guaranteed to be called by MSBuild at the start of the build before any events are raised.

Shutdown ( ) : void

Shutdown() is guaranteed to be called by MSBuild at the end of the build, after all events have been raised.

Private Methods

Method Description
Log ( string message ) : void

Logs the specified message.

LogError ( string error ) : void

Logs the specified message.

SafeFormat ( string message ) : string

Safe format method.

Method Details

Initialize() public method

Initialize is guaranteed to be called by MSBuild at the start of the build before any events are raised.
public Initialize ( IEventSource eventSource ) : void
eventSource IEventSource
return void

Shutdown() public method

Shutdown() is guaranteed to be called by MSBuild at the end of the build, after all events have been raised.
public Shutdown ( ) : void
return void