Commit 31afaad
committed
[SofaPython3] Activate 'per component' logging by default when using the Sofa binding
The message pipeline in sofa is rather complex and by default the components does not
stores the messages (info, warning, error) that are emitted. In runSofa the message pipeline
is configured so keep track of eache messages received on a per object basis.
This is done by registering a dedicated message handler in the message pipeline.
In this PR we active this behavior by default in the Sofa python module so the behavior
is consistant with what happens in Sofa.1 parent 0a941c5 commit 31afaad
1 file changed
+10
-0
lines changedLines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
29 | 37 | | |
30 | 38 | | |
31 | 39 | | |
| |||
105 | 113 | | |
106 | 114 | | |
107 | 115 | | |
| 116 | + | |
| 117 | + | |
108 | 118 | | |
109 | 119 | | |
110 | 120 | | |
| |||
0 commit comments