What does $sformatf ("%m") mean when it is in this context, `uvm_info ("TRACE", $sformatf("%m"), UVM_MEDIUM);

I encounter this syntax when I was doing a UVM-1.2 lab, the document says it is helpful for debugging because it will print the method name and file context , but I just wonder what the “%m” mean ?

In reply to zhangmiao:

If you are learning SystemVerilog or UVM, you should have a copy of the IEEE SystemVerilog Language Standard for reference.

Table 21.2 - Escape sequences for format specifications states that %m or %M will display the hierarchical name.

In reply to cgales:

Thank you for bothering to answer this question, but I only have version 1800-2012 of IEEE Standard and I find that information, though.

In reply to Marina:

The link above will get you the 2017 version. Then look for section 21.2.