Compartilhar via


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

Syntax

'Declaration
Public Overridable Property Verbosity As LoggerVerbosity
public virtual LoggerVerbosity Verbosity { get; set; }
public:
virtual property LoggerVerbosity Verbosity {
    LoggerVerbosity get ();
    void set (LoggerVerbosity value);
}
abstract Verbosity : LoggerVerbosity with get, set 
override 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.

Implements

ILogger.Verbosity

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

Logger Class

Microsoft.Build.Utilities Namespace