|
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.DiagnosticsAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.205-beta+5ef4169f3b1079d8b163dd363614f656bd140924
Syntax GSF.Diagnostics.MessageLevelFlags = function();
GSF.Diagnostics.MessageLevelFlags.createEnum('GSF.Diagnostics.MessageLevelFlags', true);
Members Member name | Value | Description |
---|
NA | 0 |
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.
|
Debug | 1 |
Indicates a message that may assist in debugging code and generally
serves no additional purpose.
|
Info | 2 |
Indicates that the message is informational. No action should be taken
for these type of messages.
|
Warning | 4 |
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.
|
Error | 8 |
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.
|
Critical | 16 |
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