Contents of Transcript?

Ned Konz ned at squeakland.org
Sat Feb 19 16:19:36 UTC 2005


On Saturday 19 February 2005 6:52 am, Rick Zaccone wrote:
> >On Thursday 17 February 2005 3:10 pm, I wrote:
> >> You can add a dependent to Transcript.
> >>
> >> The attached code is such a logger.
> >
> >Note that the code that I posted is not complete: it should also
> >register itself for shutDown: notification and close all the loggers
> >when shutting down.
>
> Thanks for the help Ned.  This sounds like what I'm looking for.  I
> don't know what it means when you say that it needs to register itself
> for shutdown.  Would you please give me a bit more detail?
>
> Rick

A class can register itself for notification at shutdown/snapshot time and 
also at startup/resuming time.

The reason this is important is that you need to close these loggers when 
exiting, and also make sure that they're all closed after starting.

-- 
Ned Konz
http://bike-nomad.com/squeak/



More information about the Squeak-dev mailing list