Compartir a través de


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.

public:
 property System::Collections::Generic::ICollection<Microsoft::Build::Framework::ILogger ^> ^ Loggers { System::Collections::Generic::ICollection<Microsoft::Build::Framework::ILogger ^> ^ get(); };
public System.Collections.Generic.ICollection<Microsoft.Build.Framework.ILogger> Loggers { get; }
member this.Loggers : System.Collections.Generic.ICollection<Microsoft.Build.Framework.ILogger>
Public ReadOnly Property Loggers As ICollection(Of ILogger)

Property Value

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

Remarks

Loggers are added with the RegisterLogger method.

Applies to