Click or drag to resize

MessageFlags Enumeration

Various flags that can be attributed to a LogMessage.

Namespace: GSF.Diagnostics
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.207-beta+1781b796b2aa7a54013a031eb432fe4ccee31867
Syntax
[FlagsAttribute]
public enum MessageFlags
View Source
Members
Member nameValueDescription
None0 No flags are specified.
UsageIssue2 Indicates that a segment of code is not being used properly or ideally.
BugReport4 Indicates that a bug in the code exists somewhere. This is helpful when the programmer suspects that certain exceptions were not properly handled.
PerformanceIssue8 A flag indicating that a performance related issue has occurred.
SecurityMessage16 Indicates this message has security implications with it. Such as a successful/unsuccessful authentication.
SystemHealth32 These messages in generally should always be logged because they report the state of the current system's health. Normally this will be when the system health is abnormal, for example, something abnormal is happening in the background that is important to note and can assist debugging other components. Messages raised here would include First Chance Exceptions and exceptions in log message routing (such as Message Suppression).
See Also