Logging idea

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Logging idea

keith1y
I had this great idea for a simple logging technique.

In the method where you want to log data simply take the current method
context and add it to your log collection.

Then I had another idea, to print out the data take each method context
in your log collection and resend it to a printing object, whose methods
have the same names as the original.

Unfortunately each of these method contexts is marked as isDead -> true,
and so nothing of use happens. Is there a way of doing this, short of
copying the data out into a Message and sending it?

many thanks in advance

Keith



               
___________________________________________________________
Try the all-new Yahoo! Mail. "The New Version is radically easier to use" – The Wall Street Journal
http://uk.docs.yahoo.com/nowyoucan.html