After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 779459 - Document whether GST_CAT_LEVEL_LOG() & co print a new-line
Document whether GST_CAT_LEVEL_LOG() & co print a new-line
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
1.x
Other All
: Normal normal
: 1.11.90
Assigned To: GStreamer Maintainers
GStreamer Maintainers
https://gstreamer.freedesktop.org/dat...
Depends on:
Blocks:
 
 
Reported: 2017-03-02 08:49 UTC by Francois Gouget
Modified: 2017-03-03 14:35 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Francois Gouget 2017-03-02 08:49:06 UTC
The documentation does not say if GST_CAT_LEVEL_LOG() and the related macros like GST_DEBUG_OBJECT() will print a new-line or if one must be explicitly specified in the format string.

See:
https://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstInfo.html#GST-CAT-LEVEL-LOG:CAPS
Comment 1 Tim-Philipp Müller 2017-03-03 12:54:50 UTC
Thanks for the bug report, this should fix it:

commit c90d3e9d5aef1ed0e5b8517ba6b89cbf53354c1f
Author: Tim-Philipp Müller <tim@centricular.com>
Date:   Fri Mar 3 12:53:26 2017 +0000

    info: document that logging macros don't need newlines at the end
    
    https://bugzilla.gnome.org/show_bug.cgi?id=779459


(website will update at a later time)
Comment 2 Francois Gouget 2017-03-03 14:35:47 UTC
Wow, quick! Thanks a lot.