aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorEric <[email protected]>2013-10-14 14:45:05 -0700
committerEric <[email protected]>2013-10-14 14:45:05 -0700
commit53af44d28ee92272911192115c5352e26516e0b3 (patch)
tree62bbe99b8e88f7587ecf1a1c3c55495cdce8bac0 /include
parentd8fe19483d1afe15017709058f330ac132e4029a (diff)
downloadrelx-53af44d28ee92272911192115c5352e26516e0b3.tar.gz
relx-53af44d28ee92272911192115c5352e26516e0b3.tar.bz2
relx-53af44d28ee92272911192115c5352e26516e0b3.zip
remove rlx log and use ec_cmd_log instead
Diffstat (limited to 'include')
-rw-r--r--include/relx.hrl10
1 files changed, 6 insertions, 4 deletions
diff --git a/include/relx.hrl b/include/relx.hrl
index ee575a2..43aec62 100644
--- a/include/relx.hrl
+++ b/include/relx.hrl
@@ -16,10 +16,12 @@
%% under the License.
%%
--define(RLX_ERROR, 0).
--define(RLX_WARN, 1).
--define(RLX_INFO, 2).
--define(RLX_DEBUG, 3).
+-include_lib("erlware_commons/include/ec_cmd_log.hrl").
+
+-define(RLX_ERROR, ?EC_ERROR).
+-define(RLX_WARN, ?EC_WARN).
+-define(RLX_INFO, ?EC_INFO).
+-define(RLX_DEBUG, ?EC_DEBUG).
%% This is the default form of error messages for the Relx
%% system. It is expected that everything that returns an error use