From b9bdc279f228c6e70d05c85361fe7d018beba444 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Thu, 7 Sep 2017 15:30:08 +0100 Subject: Update scheduler logging to use catagory --- frontends/gtk/schedule.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'frontends/gtk/schedule.c') diff --git a/frontends/gtk/schedule.c b/frontends/gtk/schedule.c index 201432097..d5b45674b 100644 --- a/frontends/gtk/schedule.c +++ b/frontends/gtk/schedule.c @@ -46,7 +46,7 @@ nsgtk_schedule_generic_callback(gpointer data) _nsgtk_callback_t *cb = (_nsgtk_callback_t *)(data); if (cb->callback_killed) { /* This callback instance has been killed. */ - NSLOG(netsurf, DEBUG, "CB at %p already dead.", cb); + NSLOG(schedule, DEBUG, "CB at %p already dead.", cb); } queued_callbacks = g_list_remove(queued_callbacks, cb); pending_callbacks = g_list_append(pending_callbacks, cb); @@ -60,7 +60,8 @@ nsgtk_schedule_kill_callback(void *_target, void *_match) _nsgtk_callback_t *match = (_nsgtk_callback_t *)_match; if ((target->callback == match->callback) && (target->context == match->context)) { - NSLOG(netsurf, DEBUG, "Found match for %p(%p), killing.", + NSLOG(schedule, DEBUG, + "Found match for %p(%p), killing.", target->callback, target->context); target->callback = NULL; target->context = NULL; @@ -119,7 +120,8 @@ schedule_run(void) /* Clear the pending list. */ pending_callbacks = NULL; - NSLOG(netsurf, DEBUG, "Captured a run of %d callbacks to fire.", + NSLOG(schedule, DEBUG, + "Captured a run of %d callbacks to fire.", g_list_length(this_run)); /* Run all the callbacks which made it this far. */ -- cgit v1.2.3