On Thursday, 15 August 2013 at 18:09:21 UTC, monarch_dodra wrote:
This doesn't fix everything though, and you should also rework your "logLevel" functions to not allocate: For example, by making "log" accept two strings.
Another issue is that printing a time will always allocate a string, so there is (currently) no way to log at what time the log file is closed, if you rely on the destructor.