[Events] Fix function name in debug message.