tcl-rivet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Damon Courtney <>
Subject Re: Error logging
Date Mon, 20 Jan 2003 06:19:50 GMT
> Sure, if we made it a Tcl optional, then people could use it if they
> want the timestamp.  I guess adding a stderr channel would be a pretty
> minor thing to do too.  Maybe the best thing for now is to put it in
> the 'TODO' list with a note saying that we'll do it if enough people
> feel that it would help them.

    We'll put it on the TODO.  It's not a big deal.  Just throwing out
thoughts. 0-]

> That sounds like the right way to handle things.  How does it work?

foreach fp [file channels] {
    if {[string match std* $fp]} { continue }
    catch { close $fp }

    That's pretty well it. 0-]  No fuss, no muss.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message