D28495: [Kleopatra] Add support of timestamp to logging

Sandro Knauß noreply at phabricator.kde.org
Thu Apr 2 10:43:32 BST 2020


knauss added a comment.


  Can't https://doc.qt.io/qt-5/qtglobal.html#qSetMessagePattern used? If Kleopatra using "normal" qtlogging you can easily test if you set the environmental variable  QT_MESSAGE_PATTERN to print timestamps something like:
  `QT_MESSAGE_PATTERN="[%{time yyyyMMdd h:mm:ss.zzz t} - %{if-category}%{category}: %{endif} - %{file}:%{line} - %{message}`

REPOSITORY
  R168 Kleopatra

REVISION DETAIL
  https://phabricator.kde.org/D28495

To: andreylegayev, aheinecke
Cc: knauss, kde-pim, fbampaloukas, dcaliste, dvasin, rodsevich, winterz, vkrause, mlaurent, dvratil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20200402/17da3dce/attachment-0001.html>


More information about the kde-pim mailing list