aboutsummaryrefslogtreecommitdiffstats
path: root/src/rlx_prv_release.erl
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 /src/rlx_prv_release.erl
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 'src/rlx_prv_release.erl')
-rw-r--r--src/rlx_prv_release.erl6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/rlx_prv_release.erl b/src/rlx_prv_release.erl
index 3e73136..134ff7a 100644
--- a/src/rlx_prv_release.erl
+++ b/src/rlx_prv_release.erl
@@ -138,7 +138,7 @@ release_sort({{RelNameA, RelVsnA}, _}, {{RelNameB, RelVsnB}, _}) ->
ec_semver:lte(RelVsnA, RelVsnB).
solve_release(State0, DepGraph, RelName, RelVsn) ->
- rlx_log:debug(rlx_state:log(State0),
+ ec_cmd_log:debug(rlx_state:log(State0),
"Solving Release ~p-~s~n",
[RelName, RelVsn]),
try
@@ -169,11 +169,11 @@ solve_release(State0, DepGraph, RelName, RelVsn) ->
set_resolved(State, Release0, Pkgs) ->
case rlx_release:realize(Release0, Pkgs, rlx_state:available_apps(State)) of
{ok, Release1} ->
- rlx_log:info(rlx_state:log(State),
+ ec_cmd_log:info(rlx_state:log(State),
"Resolved ~p-~s~n",
[rlx_release:name(Release1),
rlx_release:vsn(Release1)]),
- rlx_log:debug(rlx_state:log(State),
+ ec_cmd_log:debug(rlx_state:log(State),
fun() ->
rlx_release:format(0, Release1)
end),