共用方式為


ForwardingLoggerRecord.CentralLogger Property

Gets the central logger.

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.Logging
Assembly:  Microsoft.Build (in Microsoft.Build.dll)

Syntax

'Declaration
Public Property CentralLogger As ILogger
public ILogger CentralLogger { get; private set; }
public:
property ILogger^ CentralLogger {
    ILogger^ get ();
    private: void set (ILogger^ value);
}
member CentralLogger : ILogger with get, private set
function get CentralLogger () : ILogger 
private function set CentralLogger (value : ILogger)

Property Value

Type: Microsoft.Build.Framework.ILogger
Returns the central logger.

.NET Framework Security

See Also

Reference

ForwardingLoggerRecord Class

Microsoft.Build.Logging Namespace