Click or drag to resize

MessageLevelFlags Enumeration

The level of importance of a message that is being raised. Increasing from Debug, Info, Warning, Error, Critical. None can be specified, but this indicates an importance level cannot be properly identified, and the message will be routed based on MessageFlags.

Namespace: GSF.Diagnostics
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.207-beta+1781b796b2aa7a54013a031eb432fe4ccee31867
Syntax
[FlagsAttribute]
public enum MessageLevelFlags
Members
Member nameValueDescription
NA0 Indicates a level that cannot be generally subscribed to. In this case, the message can only be subscribed to if a MessageFlags is subscribed to. Example: First Chance AppDomain Exceptions could fall under here because it's impossible to assign the risk of this king of exception. Instead the SystemHealth flag will be raised.
Debug1 Indicates a message that may assist in debugging code and generally serves no additional purpose.
Info2 Indicates that the message is informational. No action should be taken for these type of messages.
Warning4 Indicates that something happened that might adversely affect the system's operation. This level can also be used for expected errors. Warnings can be precursors to errors in the system.
Error8 Indicates that something happened that might adversely affect the system's operation. This level should be reserved for errors that are not expected to occur. These are non-urgent failures to the system.
Critical16 Indicates that something happened that will render certain components useless. These errors can be recovered from. An example case would be one of those "this should never happen" errors that were likely not handled properly and thus could eventually make the system unstable or unusable.
See Also