[erlang-questions] Logging interprocess communication

Alex Shneyderman <>
Sun Dec 9 15:11:06 CET 2012


You might find parse_transforms useful for this sort of things:

http://stackoverflow.com/questions/2416192/is-there-a-good-complete-tutorial-on-erlang-parse-transforms-available

I am not sure your particular use case can be weaved around but it
would be hard to believe if it is not.

Cheers.

On Sun, Dec 9, 2012 at 2:35 PM, Yash Ganthe <> wrote:
>
> Hi,
>
> In an Erlang VM when one process send a message to another using: Pid !
> MyMessage we would like to log this interaction to a log file. We need to do
> this without having the developer introduce explicit log statements all over
> the code wherever one process communicates with another.
>
> What is the best way to achieve this?
>
> Thanks,
> Yash
> --
> Using Opera's revolutionary email client: http://www.opera.com/mail/
> _______________________________________________
> erlang-questions mailing list
> 
> http://erlang.org/mailman/listinfo/erlang-questions



More information about the erlang-questions mailing list