That looks remarkably similar to the highly-underappreciated Devel::TraceMethods. The clever mirod has a similar idea. Of course, the named module works on any package, allows more flexible logging, and doesn't whack typeglob slots.
Not that I'm bragging. :)
Comment on Re: Re: Convenient way to track function calls?