Is there a convenient way to do this? If not, what is the inconvenient way?
I managed to log to a file by redirecting stdout ~~~ rdstdout, wrstdout = redirect_stdout() @code_warntype(myuglyfunction()) filename=string(Int(Dates.datetime2unix(now())))*"-type-stability.log" file=open(filename,"w") write(file,readavailable(rdstdout)) close(file) ~~~ but I am not sure how to resume the normal behavior of stdout after that Thanks! ben
