[erlang-questions] lager displaying module and function
Zheng Zhi Bin
witeman.g@REDACTED
Sat Nov 5 03:29:10 CET 2011
When you look into lager_transform module you will know, it use the parse_transform option/technique
Witeman
在 2011-11-5,上午3:25,Joel Reymont <joelr1@REDACTED> 写道:
> I do see the output from lager, it just does not have the module and function in it.
>
> On Nov 4, 2011, at 7:24 PM, Tim Watson wrote:
>
>> i haven't actually used lager before, but perhaps there's a parse_transform you need to specify explicitly (in erl_opts or using a -compile directive). I can't imagine seeing that info magically otherwise.
>>
>> On 4 November 2011 18:31, Joel Reymont <joelr1@REDACTED> wrote:
>> How do I get lager to display the module and function?
>>
>> When I invoke lager:info(…) at the moment, I only see [info] and the message but no function and module.
>>
>> Thanks, Joel
>
> --------------------------------------------------------------------------
> - for hire: mac osx device driver ninja, kernel extensions and usb drivers
> ---------------------+------------+---------------------------------------
> http://wagerlabs.com | @wagerlabs | http://www.linkedin.com/in/joelreymont
> ---------------------+------------+---------------------------------------
>
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions
More information about the erlang-questions
mailing list