debug_timestamped_log_handler
Description:
[ Version ( since = "0.7.1" ) ]
public void debug_timestamped_log_handler (string log_domain, LogLevelFlags log_level, string message, void* ignored)
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.
Parameters:
log_domain |
the message's log domain |
log_level |
the log level of the message |
message |
the message to process |
ignored |
not used |
Namespace: TelepathyGLib
Package: telepathy-glib