다음을 통해 공유


TaskLoggingHelper.LogsMessagesOfImportance(MessageImportance) Method

Definition

Returns true if a message of given importance should be logged because it is possible that a logger consuming it exists.

public:
 bool LogsMessagesOfImportance(Microsoft::Build::Framework::MessageImportance importance);
public bool LogsMessagesOfImportance (Microsoft.Build.Framework.MessageImportance importance);
member this.LogsMessagesOfImportance : Microsoft.Build.Framework.MessageImportance -> bool
Public Function LogsMessagesOfImportance (importance As MessageImportance) As Boolean

Parameters

importance
MessageImportance

The importance to check.

Returns

True if messages of the given importance should be logged, false if it's guaranteed that such messages would be ignored.

Applies to