logs NSNotification events on Mac OS X