This is very nice. Now you have a way to log information right from a DirectX app without adding any extra classes. It allows you to write to the console window using printf(), fprintf(), and std::cout. It also redirects stdin and stderr.
The best part is you don't have to call any Win32 console related functions.