As part of the Logging APIs, the Logger class needs to be able
to infer the caller for certain convenience methods.
Right now it implements this by creating an Exception(), printing
the backtrace and searching through the backtrace.
This is both inefficient and non-portable, as not all VMs may have
the same backtarce format.