NSMonitor displays the stream of CGEvents, FSEvents, NSWorkspace and distributed notifications in real time.
The individual lists can be filtered/searched and turned on/off. It is also possible to create a distributed notification with a NSString object and a userInfo NSDictionary.