summaryrefslogtreecommitdiffstats
path: root/dist
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2014-11-19 14:14:36 -0800
committerJani Heikkinen <jani.heikkinen@theqtcompany.com>2014-11-21 16:47:35 +0100
commitbb07737614d3fdf867e8e5da835554ae731ba04f (patch)
tree7b5fe961485539c37690f259a7a28fdb7ee33880 /dist
parent0792943d59eaa41f5e04b6ccaf39322eb8657f2a (diff)
Fix the %{time} printing to *not* default to the process's time
The default should be the actual time of day. Showing the process's time is the optional case. In the future, we'll provide a way to showing the monotonic reference time ("boot") and we should improve the detection of actual application runtime. Change-Id: I41936d77ab9fad2073dc0ce1c97cabe57ec39f16 Reviewed-by: Jan Arve Sæther <jan-arve.saether@theqtcompany.com> Reviewed-by: Shawn Rutledge <shawn.rutledge@digia.com>
Diffstat (limited to 'dist')
-rw-r--r--dist/changes-5.4.05
1 files changed, 5 insertions, 0 deletions
diff --git a/dist/changes-5.4.0 b/dist/changes-5.4.0
index f989904484..fc3e3a5466 100644
--- a/dist/changes-5.4.0
+++ b/dist/changes-5.4.0
@@ -97,6 +97,11 @@ QtCore
- Logging:
* QT_MESSAGE_PATTERN can include a backtrace using %{backtrace}
+ * QT_MESSAGE_PATTERN can include a timestamp using %{time}. By
+ default, this shows the time in ISO format (YYYY-MM-DDTHH:mm:ss),
+ but a different format string can be specified in the tag (e.g.,
+ %{time YYYYMMDDHHmmsszzz}). If the format is "process", Qt will
+ display the elapsed time since the process started.
* Added QtMsgType argument to QLoggingCategory constructor and
Q_LOGGING_CATEGORY macro that controls the default category
configuration.