Only print timestamps on stderr if verbose messages will go there
authorRalf Habacker <ralf.habacker@freenet.de>
Fri, 10 Feb 2017 12:10:49 +0000 (13:10 +0100)
committerRalf Habacker <ralf.habacker@freenet.de>
Fri, 10 Feb 2017 12:10:49 +0000 (13:10 +0100)
commitca75dee7858c95a6366ca30ef9af029d88c49a0f
tree9fc581bce9ecd585f36b1c06874232ad84b6506d
parentdfbeefb2eb0fc2523acd45b300029855c59af6fc
Only print timestamps on stderr if verbose messages will go there

On Windows, dbus can be configured to send DBUS_VERBOSE messages
to the Windows debug port instead of stderr. If we're in that
configuration, we already avoided printing thread information to
stderr before each verbose message; do the same for timestamps.

Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=99749
dbus/dbus-internals.c