Commit Graph

3 Commits

Author SHA1 Message Date
Johannes Zarl
4829592601 Add support for redirecting or disabling messages from stdout to elsewhere.
The newly introduced procedure wiiuse_set_output can be used to set the FILE*
used for each of the loglevels LOGLEVEL_ERROR, LOGLEVEL_WARNING, LOGLEVEL_INFO,
and LOGLEVEL_DEBUG. Setting the logfile to 0 disables log output for a
loglevel. This adds the macro definition WIIUSE_HAS_OUTPUT_REDIRECTION, so
programs can test for the feature.

The internal log macros in definitions.h all honor this output redirection mechanism.
2011-04-27 08:33:36 -05:00
Ryan Pavlik
bf4b9e9d10 WOrk on fixing windows 2010-07-27 17:07:19 -05:00
Ryan Pavlik
24b1063e59 Upstream official 0.12 2010-07-22 16:29:25 -05:00