LoggerDescription.CreateLogger Method

Definition

Create an ILogger out of the data in this description. This method may throw a variety of reflection exceptions if the data is invalid. It is the resposibility of the caller to handle these exceptions if desired.

public Microsoft.Build.Framework.ILogger CreateLogger ();
[System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]
public Microsoft.Build.Framework.ILogger CreateLogger ();

Returns

Attributes

Remarks

This method may throw a variety of reflection exceptions if the data is invalid. It is the responsibility of the caller to handle these exceptions if desired.

Applies to

Product Versions
MSBuild 15, 16, 17
MSBuild (.NET Core) 15, 16, 17