Enum DebugLevel
- Namespace
- VisioForge.Core.Types
- Assembly
- VisioForge.Core.dll
Specifies the severity level for logging and debug messages. This enumeration is used to filter the verbosity of diagnostic output.
public enum DebugLevelFields
Info = 0-
Informational messages that are useful for tracing application flow and state. This is the most verbose level and is typically used during development and debugging.
Warning = 1-
Indicates a potential issue that is not critical but should be brought to the developer's attention. The application can continue to run, but the issue may lead to problems.
Error = 2-
Indicates a significant problem or error that has occurred. This level is used for issues that may prevent a specific operation from completing or cause application instability.
Remarks
Debug levels allow applications to control the amount of diagnostic information produced during execution. Setting a higher severity level (Error) reduces output to only critical issues, while lower levels (Info) provide detailed tracing. This is typically used with logging frameworks or debug output handlers to manage verbosity in development versus production environments. Messages are generally hierarchical: setting the level to Warning will show both Warning and Error messages, while Info shows all levels.