A simple tracing framework inspired by XTrace