Click or drag to resize

MessageLevel 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.177-beta
Syntax
public enum MessageLevel
View Source
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.
Warning3 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.
Error4 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.
Critical5 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