Stumbled upon a way by checking out what's done in the meck project's Makefile regarding dialyzer. Have a look: Makefile
Key part is this:
| \
fgrep -v -f ./dialyzer.ignore-warnings
So within that file: dialyzer.ignore-warnings you'll see what to do. In my version I added:
Call to missing or unexported function lager:warning/1
Call to missing or unexported function lager:warning/2
Call to missing or unexported function lager:info/1
Call to missing or unexported function lager:info/2
Call to missing or unexported function lager:error/1
Call to missing or unexported function lager:error/2
And the warnings I was getting went away. I do of course have this entry in my rebar.config:
{erl_opts, [{parse_transform, lager_transform}]}.
-compile([{parse_transform, lager_transform}]).
? – Faultlesserl_opts
inapps/Foo/rebar.config
. – Bobbe