Print object name and method name in log statements

Stephen Woolerton <[email protected]>
Newsgroups gmane.comp.lang.smalltalk.gnu.general
Message-ID <[email protected]>
Hi,

Is there a way to access the name of the current Object, and name of the current method, when a program is running? And if so, is line number accessible too?

I would like this information for logging statements, as a prefix to the log text.

Thanks
Stephen
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.