changeset 27:52d20e883c79

Also log number of elements in state (in example_http)
author Lewin Bormann <lbo@spheniscida.de>
date Sat, 08 Oct 2016 16:45:07 +0200
parents 5079acb49d3b
children 78f114bfcc9e
files example_http/example.go
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/example_http/example.go	Sat Oct 08 16:44:54 2016 +0200
+++ b/example_http/example.go	Sat Oct 08 16:45:07 2016 +0200
@@ -115,7 +115,7 @@
 		}
 
 		if i%5 == 0 {
-			log.Println(participant.GetState().(State))
+			log.Println(len(participant.GetState().(State).inner), participant.GetState().(State))
 		}
 
 		i++