In reply to chr_sue:
Yes, but then I need to add it to each uvm_reg in some way.
I assume for every uvm_reg I could do someting like:
uvm_report_cb::add(reg1, demoter);
uvm_report_cb::add(reg2, demoter);
etc...
But that is quite some work. I am not even sure I can pass a uvm_object to add?
Perhaps I could use something as follows:
uvm_report_cb::add_by_name("my_reg_model.*", demoter);
so that it gets added to everything in my registermodel (very brute force though)