ProjectCollection.RegisterLogger(ILogger) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds a logger to the collection of loggers used for builds of projects in this collection. If the logger object is already in the collection, does nothing.
public:
void RegisterLogger(Microsoft::Build::Framework::ILogger ^ logger);
public void RegisterLogger (Microsoft.Build.Framework.ILogger logger);
member this.RegisterLogger : Microsoft.Build.Framework.ILogger -> unit
Public Sub RegisterLogger (logger As ILogger)
Parameters
- logger
- ILogger
The logger to add.
Remarks
If the logger object is already in the collection, does nothing.