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.282-beta+fbfa6baa1521236175f6d73fb2eb151a42453aef
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).

The MessageFlags type exposes the following members.

Extension Methods
 NameDescription
Public Extension MethodGetDescription Retrieves the description of the value that this Enum represents extracted from the DescriptionAttribute, or the enumeration name if no description is available.
(Defined by EnumExtensions)
Public Extension MethodGetFormattedName Retrieves a formatted name of the value that this Enum represents for visual display.
(Defined by EnumExtensions)
Top
See Also