
Some parts of this message have been removed.
Learn more about Nabble's
security policy.
Hi,
I tried the example 2-23 in page 33 from the upcoming book ‘Building Web Applications with Erlang’ .
The example is simple as shown below
<erl>
out(Arg) ->
error_logger:info_msg("~p:~p User Entered the System~n",
[?MODULE,?LINE]),
{html, "Logger"}.
</erl>
It is supposed to output this:
=INFO REPORT==== 16-Jan-2012::13:38:52 ===
m1:13 User Entered the System
But it is outputing this instead.
Logger
I also tried to do this:
Logger = error_logger:info_msg("~p:~p User Entered the System~n",[?MODULE,?LINE]),
{html, "Logger"}.
But it did not help.
Please let me know what I am doing wrong.
Thanks,
Mohamed
====================
This email/fax message is for the sole use of the intended
recipient(s) and may contain confidential and privileged information.
Any unauthorized review, use, disclosure or distribution of this
email/fax is prohibited. If you are not the intended recipient, please
destroy all paper and electronic copies of the original message.
------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here
http://p.sf.net/sfu/sfd2d-msazure_______________________________________________
Erlyaws-list mailing list
Erlyaws-list@...
https://lists.sourceforge.net/lists/listinfo/erlyaws-list