It is very unlikely that your coworker revealed any personal information about his private life to you.
Hiring a P.I. is not spying.
Spying requires a lot more skill. It requires
Disinformation, counterintelligence, change in physiognomy, language, manipulation, knowledge of torture and...