- now the verbose log parameter from the Preferences can take 3 values (0, 1, 2). Value = 0 means that the logging is disabled (mostly), value = 1 means that the logging is only in console and value = 3 means that the logging is now displayed in the Tcl box
This commit is contained in:
@@ -868,9 +868,13 @@ class App(QtCore.QObject):
|
||||
# ############################################################################################################
|
||||
# ################################### Set LOG verbosity ######################################################
|
||||
# ############################################################################################################
|
||||
if self.defaults["global_log_verbose"] is True:
|
||||
|
||||
if self.defaults["global_log_verbose"] == 2:
|
||||
self.log.handlers.pop()
|
||||
self.log = AppLogging(app=self)
|
||||
self.log = AppLogging(app=self, log_level=2)
|
||||
if self.defaults["global_log_verbose"] == 0:
|
||||
self.log.handlers.pop()
|
||||
self.log = AppLogging(app=self, log_level=0)
|
||||
|
||||
# ###########################################################################################################
|
||||
# #################################### SETUP OBJECT CLASSES #################################################
|
||||
|
||||
Reference in New Issue
Block a user