How can we modify the default uvm_printer behavior?

Within a function, no event, delay or timing control statements are permitted, and we need to find a way to perform checking that requires a notion of time.
Within a function, no event, delay or timing control statements are permitted, and we need to find a way to perform checking that requires a notion of time.