Unbuffered logging

Johan Engelen via digitalmars-d-ldc digitalmars-d-ldc at puremagic.com
Mon Apr 13 14:13:48 PDT 2015


Hi all,
   While debugging an ICE, it was helpful to look at the Logger 
output (obviously :), but, because it is buffered, the output log 
did not stop at the point where the crash happened.
I added fflush(stdout) to Logger:printf/printfln to help with 
that.
Is this something more people would like to have? Can we add an 
option somewhere to enable this?

cheers,
   Johan


More information about the digitalmars-d-ldc mailing list