diff options
author | Jared Morrow <jared@basho.com> | 2013-12-16 12:47:16 -0800 |
---|---|---|
committer | Jared Morrow <jared@basho.com> | 2013-12-16 12:47:16 -0800 |
commit | fbc51c0a8c9b1ceca807b7a5a60e8503bc47b308 (patch) | |
tree | 0e6a145f0f4c68683a42917d5abbde82bc7bb5a3 /include | |
parent | ad1da88a07a207bf6974d0fca7db4c5ac3bb51d0 (diff) | |
parent | 277a10cd3b10a885b35ba9b75b85398870525658 (diff) |
Merge pull request #184 from tuncer/logging
Fix log levels
Diffstat (limited to 'include')
-rw-r--r-- | include/rebar.hrl | 2 |
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))). |