lager

where is code beam file?

为君一笑 提交于 2019-12-11 04:11:48
问题 I have printed all code loaded as follows, why {lager_default_tracer,[]}, where beam file? (lager_test_1@macbook.local)10> io:format("~p",[code:all_loaded()]). [{io,"/usr/local/lib/erlang/lib/stdlib-2.3/ebin/io.beam"}, {erl_distribution,"/usr/local/lib/erlang/lib/kernel-3.1/ebin/erl_distribution.beam"}, {edlin,"/usr/local/lib/erlang/lib/stdlib-2.3/ebin/edlin.beam"}, {beam_clean,"/usr/local/lib/erlang/lib/compiler-5.0.3/ebin/beam_clean.beam"}, {v3_core,"/usr/local/lib/erlang/lib/compiler-5.0.3

Lager calls failing during Common Test test runs

雨燕双飞 提交于 2019-12-07 07:23:37
问题 I decided to setup lager in my Erlang project. I am using erlang.mk, so I added ERLC_OPTS = +'{parse_transform, lager_transform}' to my Makefile. I can run make all and compile the modules without errors. I can also start an erl console and run the application containing the modules using lager. No errors are generated and lager logs messages during the console session. It seems as though everything is fine (this is the first time I have used lager). But, when I run Common Test, the lager