From 84dbace4afdbbe44bd9559cd5a2a3c0455ba752b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gwendal=20Roue=CC=81?= Date: Fri, 30 Oct 2020 05:56:58 +0100 Subject: [PATCH] Documentation --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index d6c640a94..6a5eba81e 100644 --- a/README.md +++ b/README.md @@ -7863,7 +7863,11 @@ let observation = ValueObservation let cancellable = observation.start(...) ``` -Look at the observation logs which start with `tracked region`. Does the printed database region cover the expected changes? +Look at the observation logs which start with `cancel` or `failure`: maybe the observation was cancelled by your app, or did fail with an error. + +Look at the observation logs which start with `value`: make sure, again, that the expected value was not actually notified, then overwritten. + +Finally, look at the observation logs which start with `tracked region`. Does the printed database region cover the expected changes? For example: