A LogFunc that prepends the UTC time (currently in ISO 8601 format, with microsecond resolution) to the message, then calls g_log_default_handler.
Intended usage is:
if (g_getenv ("MYPROG_TIMING") != NULL)
g_log_set_default_handler (tp_debug_timestamped_log_handler, NULL);
If telepathy-glib was compiled with --disable-debug (not recommended), this function is equivalent to default_handler .
Changed in 0.9.0: timestamps are now printed in UTC, in RFC-3339 format. Previously, they were printed in local time, in a format similar to RFC-3339.
log_domain |
the message's log domain |
log_level |
the log level of the message |
message |
the message to process |
ignored |
not used |