summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--entry.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/entry.go b/entry.go
index 2a55130..04099ed 100644
--- a/entry.go
+++ b/entry.go
@@ -57,6 +57,7 @@ func InsertEntry(entry *Entry) error {
INSERT INTO entries (location, referrer, started_at, time_spent, scrolled_to)
VALUES (:location, :referrer, :started_at, :time_spent, :scrolled_to);`
_, err := db.NamedExec(query, entry)
+ log.Println("Entry recorded:", entry.Location)
return err
}