ProjectCollection.Loggers Property

Definition

Loggers that all contained projects will use for their builds. Loggers are added with the RegisterLogger(ILogger). Returns an empty collection if there are no loggers.

C#
public System.Collections.Generic.ICollection<Microsoft.Build.Framework.ILogger> Loggers { get; }

Property Value

All loggers that projects in this collection can use for their builds.

Remarks

Loggers are added with the RegisterLogger method.

Applies to

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