From: Jean Privat Date: Wed, 13 May 2015 15:20:32 +0000 (-0400) Subject: Merge: Revamp app.nit print_error and print_warning X-Git-Tag: v0.7.5~58 X-Git-Url: http://nitlanguage.org Merge: Revamp app.nit print_error and print_warning Should we move `print_error` to the standard library? It could be useful and specialized for many usages. Android redirects to logcat, PNaCl could redirect to the JavaScript console, and nitcorn could tee to console and a file. All the current errors printed on `sys.stderr` are lost on Android. Redirecting the stream is not ideal as each call to `write` would use a new line on the Android log. Pull-Request: #1329 Reviewed-by: Jean Privat Reviewed-by: Romain Chanoir --- 0dfb7f2f0a7d4f970ef86f9e2c078014ba3692df