From: Paul Brannan Date: 2002-10-02T03:52:15+09:00 Subject: Re: current method On Wed, Oct 02, 2002 at 03:32:29AM +0900, Alan Chen wrote: > On Wed, Oct 02, 2002 at 03:20:45AM +0900, William Djaja Tjokroaminata wrote: > > May I push it a little bit further? What is the best way to put the log > > in all the (or some selective) methods so that we don't have to write the > > "log" calls in all those methods manually? Will aspect oriented > > programming (aspectR) play a role in this? > > You could probably find some code to facilitate this in tracer.rb. Keep in mind that tracer.rb uses set_trace_func, which can slow a program to a crawl. Paul