In reply to vvs3693:
The method is defined in class ‘uvm_report_object’. This is a base class for both uvm_object and uvm_component (see the UVM Refernce Guide).
There are even more methods definded to deal with your problem.
Nice methods are also ‘set_report_severity_override’ and ‘set_report_severity_id_override’.