Files
glib/glib
Matthias Clasen bdcf9e8b4e Redo structured logging API
It turns out that the current approach of parsing g_log_structured
varargs is unworkable, because vprintf is not guaranteed to advance
the passed-in va_list. So, we have to reshuffle the argument list
a bit; I've come up with this approach:

g_log_structured (domain, level,
                  key-value pairs...
                  "MESSAGE", format,
                  printf arguments);

This requires a "MESSAGE" key to always be present, and it requires
the "MESSAGE"-format pair to be last, but it avoids an extra NULL
as marker after the key-value pairs. And it can be parsed with a
single pass over the va_list, without any va_copy.

Since we have G_LOG_USE_STRUCTURED, the separate ...structured()
convenience macros are pretty pointless, and I have dropped them
for now.
2016-07-20 20:42:09 -04:00
..
2014-01-31 14:31:55 +01:00
2011-06-12 16:17:30 -04:00
2014-02-01 20:46:29 -05:00
2015-09-21 06:44:58 -04:00
2015-06-29 08:20:26 -07:00
2014-01-31 14:31:55 +01:00
2014-02-19 19:41:52 -05:00
2014-01-31 14:31:55 +01:00
2014-01-31 14:31:55 +01:00
2013-11-20 09:16:16 -05:00
2014-01-31 14:31:55 +01:00
2014-01-31 14:31:55 +01:00
2014-01-31 14:31:55 +01:00
2014-01-31 14:31:55 +01:00
2016-06-04 20:38:33 +02:00
2014-01-31 14:31:55 +01:00
2014-01-31 14:31:55 +01:00
2016-04-07 08:43:24 -05:00
2014-01-31 14:31:55 +01:00
2016-06-04 20:38:33 +02:00
2014-01-31 14:31:55 +01:00
2014-01-31 14:31:55 +01:00
2016-07-16 20:48:41 -04:00
2016-07-16 20:48:41 -04:00
2014-01-31 14:31:55 +01:00
2014-02-19 19:41:52 -05:00
2014-01-31 14:31:55 +01:00
2014-01-31 14:31:55 +01:00
2014-01-31 14:31:55 +01:00
2014-01-31 14:31:55 +01:00
2014-01-31 14:31:55 +01:00
2016-06-29 15:16:52 +01:00
2014-01-31 14:31:55 +01:00
2014-01-31 14:31:55 +01:00
2016-07-16 21:09:26 -04:00
2016-06-29 15:16:52 +01:00
2014-01-31 14:31:55 +01:00
2015-09-07 09:50:41 -04:00
2014-05-09 18:47:42 +02:00
2016-07-20 20:42:09 -04:00
2016-07-20 20:42:09 -04:00
2014-02-19 19:41:52 -05:00
2014-01-31 14:31:55 +01:00
2015-11-02 20:03:38 +02:00
2014-01-31 14:31:55 +01:00
2014-01-31 14:31:55 +01:00
2014-01-31 14:31:55 +01:00
2014-01-31 14:31:55 +01:00
2014-01-31 14:31:55 +01:00
2014-01-31 14:31:55 +01:00
2016-02-24 11:27:09 +01:00
2014-01-31 14:31:55 +01:00
2016-04-11 23:31:38 -04:00
2016-04-11 23:31:38 -04:00
2014-01-31 14:31:55 +01:00
2015-10-04 10:24:06 -04:00
2016-05-09 15:55:53 +03:00
2015-01-14 16:21:00 +01:00
2014-01-31 14:31:55 +01:00
2016-06-04 20:38:33 +02:00
2016-04-11 23:31:38 -04:00
2014-01-31 14:31:55 +01:00
2014-01-31 14:31:55 +01:00
2014-01-31 14:31:55 +01:00
2014-02-19 19:41:52 -05:00
2014-01-31 14:31:55 +01:00
2014-01-31 14:31:55 +01:00
2016-01-11 09:33:32 +00:00
2014-01-31 14:31:55 +01:00
2014-02-19 19:41:52 -05:00
2015-10-04 10:24:06 -04:00
2015-10-04 10:24:06 -04:00
2014-01-31 14:31:55 +01:00
2014-06-28 12:49:38 -04:00
2014-02-19 19:41:52 -05:00
2015-10-04 10:24:06 -04:00
2014-01-31 14:31:55 +01:00
2016-06-04 20:38:33 +02:00
2016-04-27 13:17:27 +00:00
2014-01-31 14:31:55 +01:00
2014-01-31 14:31:55 +01:00
2014-01-31 14:31:55 +01:00
2014-01-31 14:31:55 +01:00
2014-01-31 14:31:55 +01:00
2014-01-31 14:31:55 +01:00
2014-01-31 14:31:55 +01:00
2014-01-31 14:31:55 +01:00
2014-01-31 14:31:55 +01:00
2016-03-15 11:14:57 +01:00