SFML community forums
Help => General => Topic started by: svrtgujbhk on June 05, 2011, 10:12:24 am
-
Is there a way to get the error message generated by SFML? I'd like to pass it to the Logger, instead of just having ti printed to the console.
-
SFML messages are sent to std::cerr, so you can redirect it to whatever you like by changing its internal streambuf (see the rdbuf function).
-
Thank you for your quick help.