console.h is some old C code ported across. Ability to re-target log output. To a QT Widget with tables, nice formatting, search and filtering for example. Store logs in memory? C++ify it. Consider using streams.