Skip to content

Qt log pattern to be more verbose

Nicolas Vuaille requested to merge nicolas.vuaille/paraview:QtLogPattern into master
  • add a log pattern to display context file and line
  • Applied to qDebug(), qInfo(), qWarning(), qCritical(), and qFatal()

Following this doc: https://doc.qt.io/qt-5/qtglobal.html#qSetMessagePattern

New display

console output:

warning: In /home/nicolas/ParaView/paraview2/Qt/ApplicationComponents/pqCatalystExportReaction.cxx, line 497
warning: Nothing to export, use Export Inspector to configure what you want to write.

warning_000

Previously

console output:

Nothing to export, use Export Inspector to configure what you want to write.

old_warning

Merge request reports