smartinspectpython.silevel
Module: silevel.py
Revision History
Date | Version | Description |
---|---|---|
2023/05/30 | 3.0.0.0 | Initial Version. |
Represents the log level in the SmartInspect Python3 library.
Please see the Level and DefaultLevel properties for detailed examples and more information on how to use the Level enum.
Represents the Debug log level.
This log level is mostly intended to be used in the debug and development process.
Represents the Verbose log level.
This log level is intended to track the general progress of applications at a fine-grained level.
Represents the Message log level.
This log level is intended to track the general progress of applications at a coarse-grained level.
Represents the Warning log level.
This log level designates potentially harmful events or situations.
Represents the Error log level.
This log level designates error events or situations which are not critical to the entire system. This log level thus describes recoverable or less important errors.
Represents the Fatal log level.
This log level designates errors which are not recoverable and eventually stop the system or application from working.
Represents the Control Command log level.
This log level represents a special log level which is only used by the SIControlCommand class and is not intended to be used directly.
Returns an enum value for the given string representation if found, otherwise the default value.
Arguments:
- value (str): The string representation of the enum value.
- defaultValue: The value to use if an enum could not be determined from the value.
Returns:
A new Level instance if Parse was successful; otherwise, the defaultValue Level.
Both the Name and Value of the enum are compared for a match.