EngineServices.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 the given message importance is not guaranteed to be ignored by registered loggers.
public:
virtual bool LogsMessagesOfImportance(Microsoft::Build::Framework::MessageImportance importance);
public virtual bool LogsMessagesOfImportance (Microsoft.Build.Framework.MessageImportance importance);
abstract member LogsMessagesOfImportance : Microsoft.Build.Framework.MessageImportance -> bool
override this.LogsMessagesOfImportance : Microsoft.Build.Framework.MessageImportance -> bool
Public Overridable 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.
Remarks
Example: If we know that no logger is interested in Low, this method returns true
for Normal and High, and returns false
for Low.