diff options
author | Tristan Sloughter <t@crashfast.com> | 2014-08-17 21:10:43 -0500 |
---|---|---|
committer | Tristan Sloughter <t@crashfast.com> | 2014-08-17 21:10:43 -0500 |
commit | 629792f36baaaddaeb8ce654760ca4392a571cc5 (patch) | |
tree | b8332107bf24ee9612123ab7c03939da58085290 /src/rebar_log.erl | |
parent | 54e1231e4f34e3bcb9ccdbbd07565fe2538c5401 (diff) |
start of moving to splitting state from config parsing
Diffstat (limited to 'src/rebar_log.erl')
-rw-r--r-- | src/rebar_log.erl | 3 |
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; |