I have added Lager to my application using rebar. It compiles fine and Lager starts ok when I start my app. However, I get undef messages when I call lager:debug/1 which tells me that the lager_transform
parse transformation is not being picked up, but I have added the following to my rebar.config:
{erl_opts, [{parse_transform, lager_transform}]}.
and I am of course compiling with rebar.