Logging

PySTK uses a global logging mechanism. You can select one of the log levels below.

class pystk.LogLevel

Global logging level

debug = 0
error = 4
fatal = 5
info = 2
property name str
property value int
verbose = 1
warn = 3
pystk.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.