[gnome-contacts/gnome-3-30] Store: add more debug information.
- From: Niels De Graef <nielsdg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-contacts/gnome-3-30] Store: add more debug information.
- Date: Tue, 11 Dec 2018 01:06:56 +0000 (UTC)
commit 2db5b69ce86ebf37b05ae0d2b30bc5af8089b64b
Author: Niels De Graef <nielsdegraef gmail com>
Date: Sun Nov 11 19:33:03 2018 +0100
Store: add more debug information.
So we at least now how many contacts were added/removed.
src/contacts-store.vala | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/src/contacts-store.vala b/src/contacts-store.vala
index 3b75a88..961edac 100644
--- a/src/contacts-store.vala
+++ b/src/contacts-store.vala
@@ -176,6 +176,8 @@ public class Contacts.Store : GLib.Object {
var replaced_individuals = new HashMap<Individual?, Individual?> ();
var old_individuals = changes.get_keys();
+ debug ("Individuals changed: %d old, %d new", old_individuals.size - 1, changes[null].size);
+
// Pick best replacements at joins
foreach (var old_individual in old_individuals) {
if (old_individual == null)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]