ChrisKaelin
4/17/2007 2:23:00 PM
If I do:
l = Logger.new("testlog")
l.close
now if I want to close it again, I get:
IOError: closed stream
So far, I have checked for this error (by rescue clause), to see, if
the logfile is already closed. Is there a more elegant way to check if
the instance (i.e. the logfile stream) is already closed?