diff --git a/README.textile b/README.textile index da7514f..4fd1530 100644 --- a/README.textile +++ b/README.textile @@ -100,6 +100,10 @@ If you want to detect all signals raised (i.e. for logging and debugging) you ca
Beholder:observe(function(...) log("Event triggered", ...) end)
+A quick and dirty way of dumping all events in the standard output is just observing the nil event with @print@: + +
Beholder:observe(print)
+ If you want to trigger the events attached only to the nil event, you can do so by calling trigger without params:
Beholder:trigger()