keri
(kerim khemraev)
1
Hi,
As I can see there are at least two ways of sending errors from scripted modules:
- logging.error()
- qt.qCritical()
Which is the preferred one?
Also does Slicer write logs somewhere in the text file? For example if my app crash I would like to see the logs.
jcfr
(Jean Christophe Fillion Robin (Kitware))
2
From python, you should use the logging
module.
Consider reading these sections:
2 Likes
keri
(kerim khemraev)
3
Just to clarify, does Slicer somehow write logs to file?
jcfr
(Jean Christophe Fillion Robin (Kitware))
4
It does, see Log outputs
link referenced in the User Guide
1 Like