TaskExtension.Log Property

Definition

Gets an instance of a TaskLoggingHelperExtension class containing task logging methods.

This API supports the product infrastructure and is not intended to be used directly from your code.

C#
public Microsoft.Build.Utilities.TaskLoggingHelper Log { get; }
C#
public Microsoft.Build.Utilities.TaskLoggingHelper Log { [System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")] get; }

Property Value

The logging helper object.

Attributes

Applies to

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