Re: Print object name and method name in log statements
Stephen Woolerton <[email protected]>
| Newsgroups | gmane.comp.lang.smalltalk.gnu.general |
|---|---|
| Message-ID | <[email protected]> |
> Is there a way to access the name of the current Object, and name of the current method, when a program is running? To answer my own question.. Re printing the name of the current method, BlockClosure has a method for this. [ ] method and also can show the object name (the object that is used as ’self’ when executing the receiver) [ ] receiver _______________________________________________ help-smalltalk mailing list [email protected] https://lists.gnu.org/mailman/listinfo/help-smalltalk