[SOLVED]std::cout alternative

I want to show some debug info to OS console during the application run. But, when I was trying it with std:cout, text appears only after the engine shutdown. But Log class is for file log, not console. How can I print debug message in Urho3D?

You can use LOGINFO() or LOGWARNING() for this.

If you are following Urho3D development from master branch, it now supports a new build option to build Windows executable as console application. As console application, any log outputs and errors are flushed to the console immediately as the executable runs.

Thanks, it works perfectly