🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.api
Article #35

Re: method calls logging

#35
From: Lori M Olson [TeamB]
Date: Wed, 19 Jan 2005 22:57
31 lines
1958 bytes
Victor Ceban wrote:

> Both this solutions require code to be altered (all methods) to show the 
> debugging information. What I was looking for is more of an adapter/Listener 
> that logs when my application enters a method in any class and leaves that 
> method in that class. Any suggestions ?
> 
> Victor
> 

I haven't done much with it myself, but this sounds like something 
AspectJ would do well at.

-- 

Regards,

Lori Olson [TeamB]

------------

Save yourself, and everyone else, some time and search the
newsgroups and the FAQ-O-Matic before posting your next
question.

Google Advanced Newsgroup Search
     http://www.google.ca/advanced_group_search
Other Newsgroup Searches:
     http://www.borland.com/newsgroups/ngsearch.html
Joi Ellis's FAQ-O-Matic:
     http://www.visi.com/~gyles19/fom-serve/cache/1.html
Technical Details
Message-ID: <41eee5f3$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!solnet.ch!solnet.ch!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <41ed63d6$1@newsgroups.borland.com> <41edc04c@newsgroups.borland.com> <41ee6b3b$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 1089d0,a7b8d4ffc2d2f8a6
X-Google-Attributes: gid1089d0,public
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Wed, 19 Jan 2005 15:57:55 -0700
From: "Lori M Olson [TeamB]" <javadragon@techie.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax;nscd1)
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: borland.public.jbuilder.java.api
Subject: Re: method calls logging
References: <41ed63d6$1@newsgroups.borland.com> <41edc04c@newsgroups.borland.com> <41ee6b3b$1@newsgroups.borland.com>
In-Reply-To: <41ee6b3b$1@newsgroups.borland.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 142.179.181.200
Message-ID: <41eee5f3$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1106175475 142.179.181.200 (19 Jan 2005 14:57:55 -0800)
Lines: 31
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!solnet.ch!solnet.ch!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail