use __PRETTY_FUNCTION__ instead of class name and selector.