PyTwinLogLevel#
- class pytwin.PyTwinLogLevel(value)#
Provides an enum for choosing the logging level for use by all PyTwin objects. PyTwin logging levels follow standard Python logging levels.
- PYTWIN_LOG_DEBUG:
Provide detailed information that is typically of interest only when diagnosing problems.
- PYTWIN_LOG_INFO:
Provide confirmation that things are working as expected.
- PYTWIN_LOG_WARNING:
Provide an indication that something unexpected has happened or a problem might occur in the near future. For example,
disk space low
is a warning that is shown when the software is still working as expected but a problem might soon be encountered.- PYTWIN_LOG_ERROR:
Provide notice that due to a more serious problem, the software has not been able to perform some function.
- PYTWIN_LOG_CRITICAL:
Provide notice of a serious error, indicating that the software may be unable to continue running.
Attributes