Hi,
I would like to log the time of duration of each pushed message.
I have put some log comments at inlinepush.js
Ape.registerCmd("inlinepush", false, function(params, infos) {
if (params.password == Ape.config("inlinepush.conf", "password")) {
if ($defined(params.channel) && $defined(params.data) &&
$defined(params.raw)) {
...
Ape.log("1. inline push before"); //MV-783
chan.pipe.sendRaw(params.raw, params.data);
Ape.log("2. inline push after"); //MV-783
return {"name":"pushed","data":{"value":"ok"}};
} else {
return 0;
}
} else {
return ["400", "BAD_PASSWORD"];
}
})
is this the right place to put the log?
Thanks in advance,
Dritan
--
--
You received this message because you are subscribed to the Google
Groups "APE Project" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/ape-project?hl=en
---
APE Project (Ajax Push Engine)
Official website : http://www.ape-project.org/
Git Hub : http://github.com/APE-Project/
---
You received this message because you are subscribed to the Google Groups "APE
Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.