Page 1 of 1

Printing to the Irrlicht Console?

Posted: Sun Jun 13, 2004 7:24 pm
by brcolow
How can I print my own text to the Irrlicht console window?

Posted: Sun Jun 13, 2004 7:28 pm
by VPB
ILogger* logger = device->getLogger();

logger->log("The text u want to write");

Posted: Mon Jun 14, 2004 9:50 am
by Honkey Kong
Something simple like:

Code: Select all

printf("The text you want to write goes here.");
Works too, if you're just wanting to output to the console and not log to a file.

Posted: Mon Jun 14, 2004 11:22 am
by warui
Or just:

Code: Select all

#include <iostream>
//...
cout << "foo";