Logging
PySTK uses a global logging mechanism. You can select one of the log levels below.
- class pystk2.LogLevel
Global logging level
- debug = 0
- error = 4
- fatal = 5
- info = 2
- property name str property
- property value int property
- verbose = 1
- warn = 3
- pystk2.set_log_level(arg0: int) None
Set the global log level
You may also set the log level through an environment variable PYSTK_LOG_LEVEL
using a string corresponding to the log level.