Update of bug #12844 (project wesnoth):
Status: None => Wont Fix
_______________________________________________________
Follow-up Comment #1:
I don't think it helps anything to change the output stream. It certainly
wouldn't for Unix systems where both streams get usually redirected to the
same character devices.
The logger= attribute is intended to change the log level, not the stream, by
the way; this demonstrates you did not read the documentation in
http://www.wesnoth.org/wiki/InterfaceActionsWML#Other_interface_tags in
detail. And the standard logging facilities are used for this; in Wesnoth,
all of the log domains and levels use stderr instead of stdout since in case
of crashes we can be assured stderr's contents won't be lost- as opposed to
stdout. This is because the latter is a buffered stream, while stderr isn't.
Nonetheless, there is in 1.5.7+svn as of this writing, and in 1.5.8 there
will be, a feature that outputs the messages indicated by [wml_message] (the
replacement for [debug_message], which is deprecated in 1.5.7+svn) to the
in-game chat if they are above, or exactly in the log level set for the *wml*
log domain (as opposed to *notifs*) - just like they are sent to stderr.
Therefore if you need easy access to the messages (which I assume, is the
reason for this feature, which is not stated in the original submission),
there will be something relatively better than what you had up to now.
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?12844>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs