it filters out most of the information and leaves the class name and the function name.
in case of function without class, it will capture namespace and function name.