changeset 25:ceb051f71c28

Regularly log complete state in example_http
author Lewin Bormann <lbo@spheniscida.de>
date Sat, 08 Oct 2016 16:34:34 +0200
parents a2463442fec1
children 5079acb49d3b
files example_http/example.go
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/example_http/example.go	Sat Oct 08 16:34:17 2016 +0200
+++ b/example_http/example.go	Sat Oct 08 16:34:34 2016 +0200
@@ -114,6 +114,10 @@
 			fmt.Println(err)
 		}
 
+		if i%5 == 0 {
+			log.Println(participant.GetState().(State))
+		}
+
 		i++
 	}