Log all output to file


/ Published in: C
Save to your folder(s)

With the code fragment below, you can easily add output logging to a text-based program. Add the functions, open the log file and replace calls to (f)printf by (f)printflog.

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.