MuxLogger.RegisterLogger Method
Registers a logger on the MuxLogger and raises a build-started event if the build-started event has already been logged.
MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.
Namespace: Microsoft.Build.Utilities
Assembly: Microsoft.Build.Utilities.Core (in Microsoft.Build.Utilities.Core.dll)
Syntax
'Declaration
Public Sub RegisterLogger ( _
submissionId As Integer, _
logger As ILogger _
)
public void RegisterLogger(
int submissionId,
ILogger logger
)
public:
void RegisterLogger(
int submissionId,
ILogger^ logger
)
member RegisterLogger :
submissionId:int *
logger:ILogger -> unit
public function RegisterLogger(
submissionId : int,
logger : ILogger
)
Parameters
submissionId
Type: System.Int32The submission ID of the logger being registered.
logger
Type: Microsoft.Build.Framework.ILoggerThe logger to register.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.