Find deprecated functions without Xcode

Is it possible to find deprecated functions without Xcode in runtime?

I have a project which doesn't use Xcode to build the code for macOS. It would be great if I could see logs in Terminal when deprecated function is called.

Find deprecated functions without Xcode
 
 
Q