Commit 8042b062 authored by Benjamin Jakimow's avatar Benjamin Jakimow
Browse files
parent 2fae060b
......@@ -73,7 +73,9 @@ def debugLog(msg: str= '', skip_prefix: bool=False):
stack_class = ''
stack_method = stack[1][0].f_code.co_name
prefix = f'{stack_class}.{FOI.function}: {os.path.basename(FOI.filename)}:{FOI.lineno}:'
print(f'DEBUG:{prefix}{msg}', flush=True)
msg = f'DEBUG::{prefix}{msg}'
QgsApplication.messageLog().logMessage(msg, tag=LOG_MESSAGE_TAG, level=Qgis.Info)
# import QPS modules
# skip imports when on RTD, as we can not install the full QGIS environment as required
......
......@@ -45,7 +45,7 @@ class EOTimeSeriesViewerPlugin:
self.initialDependencyCheck()
# initialize required settings
eotimeseriesviewer.debugLog('initial all')
eotimeseriesviewer.debugLog('init all')
eotimeseriesviewer.initAll()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment