SFML community forums

Help => System => Topic started by: dk123 on November 02, 2015, 08:35:02 pm

Title: sf::err output to wofstream
Post by: dk123 on November 02, 2015, 08:35:02 pm
Hi, I'm currently using a wofstream to output to my debug file with wide characters.
I was wondering if sf::err() could somehow take in a wofstream instead of an ofstream.

Does anyone have any ideas?
Title: Re: sf::err output to wofstream
Post by: eXpl0it3r on November 02, 2015, 10:49:01 pm
Not that I know of, but I bet you could somehow redirect the sf::err() buffer to go into a wofstream buffer.
Title: Re: sf::err output to wofstream
Post by: Mr_Blame on February 12, 2016, 03:56:32 pm
Well, sf::err return ostream instance. Ostream is
char
only.  :-\
Title: Re: sf::err output to wofstream
Post by: Mr_Blame on February 12, 2016, 03:58:17 pm
But you can redirect sfml error output to file stream. :D