Tag Archive for Logging

Make A Custom, File Oriented Debugger!

My logging function looks like this, it's very handy (especially since my server automation programs run for no more than a few seconds). It basically appends the error to the file saying what time the error occurred, what the error is, and the name of the exe that generated the error (pulled from argv so even when the exe is renamed it is still accurate).

Read more