<div dir="ltr">because there is no lager:info/1 or lager:info/2 functions. You need to add lager parse_transform as in documentation.<div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Sep 12, 2013 at 8:52 AM, Michael Scofield <span dir="ltr"><<a href="mailto:bayinamine@gmail.com" target="_blank">bayinamine@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi all:<div>I am new to Erlang, and now using <a href="https://github.com/basho/lager" target="_blank">lager</a> as my logging tools.</div>
<div>I went through the lager.erl file, and found there's no exported function called info/1. However, I can call lager:info/1 from the shell, it works fine. How can this possible?</div>
<div>Thx!</div></div>
<br>_______________________________________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
<br></blockquote></div><br></div>