You can use __construct methode and log it if it is used. You can't set the __construct methode after creating an instance. So add them manually;
class Someclass{
private $clsName;
public function __construct(){
$this->clsName = get_class($this);
YourStaticLogger::yourlogFunction("whatever you want to log" . $this->clsName);
}
//other things
}
You can only track the called classes. That's what i would do.