tcl-rivet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Damon Courtney <da...@your.unreality.com>
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.

D


---------------------------------------------------------------------
To unsubscribe, e-mail: rivet-dev-unsubscribe@tcl.apache.org
For additional commands, e-mail: rivet-dev-help@tcl.apache.org


Mime
View raw message