Partager via


ILogger.Verbosity Property

Gets or sets the level of detail to show in the event log.

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

Syntax

'Declaration
Property Verbosity As LoggerVerbosity
LoggerVerbosity Verbosity { get; set; }
property LoggerVerbosity Verbosity {
    LoggerVerbosity get ();
    void set (LoggerVerbosity value);
}
abstract Verbosity : LoggerVerbosity with get, set
function get Verbosity () : LoggerVerbosity 
function set Verbosity (value : LoggerVerbosity)

Property Value

Type: Microsoft.Build.Framework.LoggerVerbosity
One of the enumeration values. The default is Normal.

Remarks

While a logger is free to choose the events it logs, following the verbosity guidelines creates a consistent user experience.

.NET Framework Security

See Also

Reference

ILogger Interface

Microsoft.Build.Framework Namespace