[erlang-questions] Why can an unresolved function be called in lager?

Max Lapshin max.lapshin@REDACTED
Thu Sep 12 18:33:50 CEST 2013


because there is no lager:info/1 or lager:info/2 functions. You need to add
lager parse_transform as in documentation.



On Thu, Sep 12, 2013 at 8:52 AM, Michael Scofield <bayinamine@REDACTED>wrote:

> Hi all:
> I am new to Erlang, and now using lager <https://github.com/basho/lager> as
> my logging tools.
> 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?
> Thx!
>
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20130912/84014ad7/attachment.htm>


More information about the erlang-questions mailing list