Changeset

4:0ef21511c7ff

Log debug message when firing an event
author Matthew Wild <mwild1@gmail.com>
date Sat, 28 Nov 2009 22:22:51 +0000
parents 3:372ddb5900d3
children 5:93970910d064
files init.lua
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/init.lua	Sat Nov 28 22:22:31 2009 +0000
+++ b/init.lua	Sat Nov 28 22:22:51 2009 +0000
@@ -64,6 +64,7 @@
 
 -- Event handling
 function stream:event(name, ...)
+	self:debug("Firing event: "..tostring(name));
 	return self.events.fire_event(name, ...);
 end