Filter uvm_info statements in the monitor by interface

In reply to tfitz:

Am i right in saying the ID field is a user defined field, so i would have to populate it from the the agent?

At present i have a testbench level config that pulls the virtual interface from the config_db. This then creates uvc based configs and passes the vif handles down. At some stage i will specific how many agents of a particular type i have and align them to a vif. At this stage i have an “id” that i can pass to the monitor.
I am happy with this approach, but i just wanted to make sure i wasn’t missing anything embedded in uvm_component that may help me in the same way.

I like neat transcript windows and greping on "MONITOR.[/top/interface_name]" is not pleasant, "MONITOR.[vif0] would be lovely.