.NET Framework 4
The ILogger type exposes the following members.
|Initialize||Subscribes loggers to specific events. This method is called when the logger is registered with the build engine, before any events are raised.|
|Shutdown||Releases the resources allocated to the logger at the time of initialization or during the build. This method is called when the logger is unregistered from the engine, after all events are raised. A host of MSBuild typically unregisters loggers immediately before quitting.|