aboutsummaryrefslogtreecommitdiffstats
path: root/src/rlx_state.erl
diff options
context:
space:
mode:
authorHeinz N. Gies <[email protected]>2016-02-09 13:51:37 -0500
committerHeinz N. Gies <[email protected]>2016-02-09 13:51:37 -0500
commit72e4baf906dcf6840880597d365da59e9e6635e0 (patch)
tree9f5ff288aaf097d6891ce5619102d60ac39b1339 /src/rlx_state.erl
parentef1921571bc5e4c3aec4d3b3f36b62efba01c3fd (diff)
downloadrelx-72e4baf906dcf6840880597d365da59e9e6635e0.tar.gz
relx-72e4baf906dcf6840880597d365da59e9e6635e0.tar.bz2
relx-72e4baf906dcf6840880597d365da59e9e6635e0.zip
Add low / high color mode
Diffstat (limited to 'src/rlx_state.erl')
-rw-r--r--src/rlx_state.erl4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/rlx_state.erl b/src/rlx_state.erl
index 42cd730..a26546d 100644
--- a/src/rlx_state.erl
+++ b/src/rlx_state.erl
@@ -146,7 +146,9 @@ new(Config, CommandLineConfig, Targets)
{ok, Root} = file:get_cwd(),
Caller = proplists:get_value(caller, CommandLineConfig, api),
- Log = proplists:get_value(log, CommandLineConfig, ec_cmd_log:new(error, Caller)),
+ Log = proplists:get_value(
+ log, CommandLineConfig,
+ ec_cmd_log:new(error, Caller, rlx_util:intensity())),
State0 = #state_t{log=Log,
config_file=Config,
cli_args=CommandLineConfig,