summaryrefslogtreecommitdiff
path: root/src/rebar_log.erl
diff options
context:
space:
mode:
authorTristan Sloughter <t@crashfast.com>2014-08-17 21:10:43 -0500
committerTristan Sloughter <t@crashfast.com>2014-08-17 21:10:43 -0500
commit629792f36baaaddaeb8ce654760ca4392a571cc5 (patch)
treeb8332107bf24ee9612123ab7c03939da58085290 /src/rebar_log.erl
parent54e1231e4f34e3bcb9ccdbbd07565fe2538c5401 (diff)
start of moving to splitting state from config parsing
Diffstat (limited to 'src/rebar_log.erl')
-rw-r--r--src/rebar_log.erl3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/rebar_log.erl b/src/rebar_log.erl
index 1a8520f..81a2d6c 100644
--- a/src/rebar_log.erl
+++ b/src/rebar_log.erl
@@ -42,8 +42,7 @@
%% Public API
%% ===================================================================
-init(Caller, Config) ->
- Verbosity = rebar_config:get_global(Config, verbose, default_level()),
+init(Caller, Verbosity) ->
Level = case valid_level(Verbosity) of
?ERROR_LEVEL -> error;
?WARN_LEVEL -> warn;