summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTuncer Ayaz <tuncer.ayaz@gmail.com>2013-12-03 19:59:28 +0100
committerTuncer Ayaz <tuncer.ayaz@gmail.com>2013-12-06 19:05:45 +0100
commitf39309a66020e13892350785bf3feff6907c5ee6 (patch)
tree3364f47f5e0c42d8b08a7bdf412609e9eef99c9d /include
parent6de94e8a166bcf4f82d799cf8f208d39babed415 (diff)
downloadrebar-f39309a66020e13892350785bf3feff6907c5ee6.tar.gz
Write ERROR messages to standard_error device
Diffstat (limited to 'include')
-rw-r--r--include/rebar.hrl2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/rebar.hrl b/include/rebar.hrl
index 58debfc..b19fdd3 100644
--- a/include/rebar.hrl
+++ b/include/rebar.hrl
@@ -9,6 +9,6 @@
-define(DEBUG(Str, Args), rebar_log:log(debug, Str, Args)).
-define(INFO(Str, Args), rebar_log:log(info, Str, Args)).
-define(WARN(Str, Args), rebar_log:log(warn, Str, Args)).
--define(ERROR(Str, Args), rebar_log:log(error, Str, Args)).
+-define(ERROR(Str, Args), rebar_log:log(standard_error, error, Str, Args)).
-define(FMT(Str, Args), lists:flatten(io_lib:format(Str, Args))).