Reputation: 59
I have been trying to write the results by setting *trace-output*
to file-generated stream like this
(setf *trace-output* (open "log.txt"))
but this fails with Error: Unexpected end of file on #<BASIC-FILE-CHARACTER-INPUT-STREAM
.
So, the question is - is there any way to write results of trace to file ?
Upvotes: 1
Views: 426
Reputation: 781245
(setf *trace-output* (open "log.txt" :direction :output))
OPEN opens files for input by default.
Upvotes: 5