Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove Lager as a direct dependency #65

Merged
merged 2 commits into from
Mar 15, 2017
Merged

Conversation

waisbrot
Copy link
Contributor

@waisbrot waisbrot commented Oct 25, 2016

Change the sole call to lager:info into elvis_utils:info

This is the elvis_core parallel to inaka/elvis#411

@@ -182,7 +182,7 @@ print_node(Node = #{type := Type}, CurrentLevel) ->
Indentation = lists:duplicate(CurrentLevel * 4, $ ),
Content = ktn_code:content(Node),

ok = lager:info("~s - [~p] ~p~n", [Indentation, CurrentLevel, Type]),
ok = elvis_utils:print("~s - [~p] ~p~n", [Indentation, CurrentLevel, Type]),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

According to Dialyzer:

Call to missing or unexported function elvis_utils:print/2

Change the sole call to `lager:info` into `elvis_utils:info`

This is the elvis_core parallel to inaka/elvis#411
@Euen Euen merged commit 09158e3 into inaka:master Mar 15, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants