Erlang function does not exist in module?

Posted by Sepehr Samini on Stack Overflow See other posts from Stack Overflow or by Sepehr Samini
Published on 2012-10-12T22:57:25Z Indexed on 2012/10/13 3:37 UTC
Read the original article Hit count: 345

Filed under:

In lager.elr (the main module of https://github.com/basho/lager) there is no function with name "debug" but I have an application that call debug function from lager module like: lager:debug(Str, Args)

I am beginner in Erlang but I know when we call a function from a module lile "mymodule:myfunction" there should be a function with name "myfunction" in file mymodule.erl but in this case when I search in lager.erl for function "debug" I can't find it.

© Stack Overflow or respective owner

Related posts about erlang