Commit 86bf100
committed
Allow a way to disable log redirection through
By introducing `IS_WITHIN_QFC_WORKER` we are going to instruct
`libqfieldsync` to not redirect logs to the `QgsMessageLog`, therefore
avoiding repetitions such as:
```
14:22:54.842 QGSMSGLOG INFO Layer "list_salutation" will use attribute "fid" as a primary key.
14:22:54.842 libqfieldsync INFO Layer "list_salutation" will use attribute "fid" as a primary key.
```QgsMessageLog
1 parent 043fe5a commit 86bf100
1 file changed
+9
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
2 | 3 | | |
3 | 4 | | |
4 | 5 | | |
5 | 6 | | |
| 7 | + | |
| 8 | + | |
6 | 9 | | |
7 | 10 | | |
8 | 11 | | |
| |||
90 | 93 | | |
91 | 94 | | |
92 | 95 | | |
93 | | - | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
94 | 102 | | |
95 | 103 | | |
96 | 104 | | |
| |||
0 commit comments