Updating profiler logging output to better support n-depth profiler nesting.