in reply to Change Carp's output to Mojo::Log
I'm not aware of something like this for Mojolicious, but I guess you can look at how Tk::Carp does its thing and do the same, except for Mojolicious.