How to show the trace log on the front page

I want to show the trace log such as
“Processing PatternController#list (for 127.0.0.1 at 2007-06-12
13:36:04) [GET]…”
of development.log. Then I could checkout the autocreate sql per page
in order
to optimize the code.