Welcome,
Guest
. Please
login
or
register
. Did you miss your
activation email?
French forum
Home
Help
Search
Login
Register
SFML community forums
»
Help
»
General
»
Intercept SFML errors
Print
Pages: [
1
]
Author
Topic: Intercept SFML errors (Read 1903 times)
0 Members and 1 Guest are viewing this topic.
tntexplosivesltd
Full Member
Posts: 163
Intercept SFML errors
«
on:
May 08, 2011, 03:52:00 pm »
Hi there
Just wondering if there is a way of intercepting SFML error messages (I assume they are bound for stderr or sdtout).
I want to be able to display errors on the screen, rather than have them go to the console.
Thanks in advance.
Logged
Laurent
Administrator
Hero Member
Posts: 32498
Intercept SFML errors
«
Reply #1 on:
May 08, 2011, 04:17:31 pm »
Yep, they go to std::cerr, so you can easily redirect them to a different streambuf.
Logged
Laurent Gomila - SFML developer
tntexplosivesltd
Full Member
Posts: 163
Intercept SFML errors
«
Reply #2 on:
May 08, 2011, 04:30:08 pm »
Cool, thanks for that!
Logged
Print
Pages: [
1
]
SFML community forums
»
Help
»
General
»
Intercept SFML errors
anything