How to print method name aswell in debug message

Hi

How to print method name in uvm simulations.

Below debug message prints class name in which it is there,I want to print method name aswell.

`uvm_info(get_type_name(), “…starting”, UVM_MEDIUM)

Please help me to add logic.

Thanks

In reply to TransVerif:
You should know the method name your `uvm_info statement appears in and write

`uvm_info({get_type_name(),"::methodname"}, "...starting", UVM_MEDIUM)

There is also the “%m” format specifer, but that prints the entire scope

`uvm_info($sformatf("%m"), "...starting", UVM_MEDIUM)

This would use packagename.classname.methodname as the ID.