vtdata library
|
This class provide a convenient way to log all the messages that your application generates. Everything logged will be saved to a file, and also be sent to the console. Under MSVC, the log output will go to the Debug Output window.
There is always and only a single vtLog instance (singleton), called g_Log.
To use:
That's it. The file will be flushed immediately after every write, so that log output will not be lost even if your application crashes.