|
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.DiagnosticsAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.207-beta+1781b796b2aa7a54013a031eb432fe4ccee31867
Syntax Public Enumeration MessageLevel
public enum class MessageLevel
GSF.Diagnostics.MessageLevel = function();
GSF.Diagnostics.MessageLevel.createEnum('GSF.Diagnostics.MessageLevel', false);
View SourceMembers 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 | 3 |
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 | 4 |
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 | 5 |
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