TaskLoggingHelper.LogsMessagesOfImportance(MessageImportance) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.