Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
[processing] Instead of a hidden parameter for verbose model logging,
add an explicit log level getter/setter to QgsProcessingContext which algorithms can use to determine an appropriate level of feedback to push to users. Initially the verbose log only triggers the full verbose output of model executions (which is also used when running models through the model designer), but the intention is that more algorithms will fine tune their output based on the logging level. qgis_process also gains a new --verbose switch to enable verbose log output.
- Loading branch information
Showing
with
134 additions
and 18 deletions.
- +24 −0 python/core/auto_generated/processing/qgsprocessingcontext.sip.in
- +18 −0 python/gui/auto_generated/processing/qgsprocessingalgorithmdialogbase.sip.in
- +1 −0 python/plugins/processing/gui/AlgorithmDialog.py
- +2 −0 python/plugins/processing/modeler/ModelerDialog.py
- +2 −11 src/core/processing/models/qgsprocessingmodelalgorithm.cpp
- +10 −0 src/core/processing/qgsprocessingcontext.cpp
- +30 −0 src/core/processing/qgsprocessingcontext.h
- +10 −0 src/gui/processing/qgsprocessingalgorithmdialogbase.cpp
- +18 −0 src/gui/processing/qgsprocessingalgorithmdialogbase.h
- +13 −3 src/process/qgsprocess.cpp
- +2 −0 src/process/qgsprocess.h
- +4 −3 tests/src/analysis/testqgsprocessing.cpp
- +0 −1 tests/src/gui/testprocessinggui.cpp