Commit 6eeff16
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 6eeff16
1 file changed
+10
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
1 | 2 | | |
2 | 3 | | |
3 | 4 | | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
7 | 11 | | |
8 | 12 | | |
9 | 13 | | |
| |||
90 | 94 | | |
91 | 95 | | |
92 | 96 | | |
93 | | - | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
94 | 103 | | |
95 | 104 | | |
96 | 105 | | |
| |||
0 commit comments