Skip to content
Snippets Groups Projects
Commit 41f254c8 authored by KERDREUX Jerome's avatar KERDREUX Jerome
Browse files

Add message counter

parent c981fe00
No related branches found
No related tags found
No related merge requests found
......@@ -7,8 +7,14 @@ import (
"gitlab.imt-atlantique.fr/xaal/code/go/core/xaal"
)
var (
msgCnt int = 0
)
func showMessage(msg *xaal.Message) {
if !msg.IsAlive() {
msgCnt++
fmt.Println("Message:", msgCnt)
msg.Dump()
fmt.Println()
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment