This commit is contained in:
Josh Baker 2018-03-18 11:09:48 -07:00
parent ac831bf3e5
commit 26d266b70e
1 changed files with 3 additions and 1 deletions

View File

@ -41,7 +41,9 @@ func main() {
return
}
events.Data = func(id int, in []byte) (out []byte, action evio.Action) {
log.Printf("%s", strings.TrimSpace(string(in)))
if trace {
log.Printf("%s", strings.TrimSpace(string(in)))
}
out = in
return
}