You may try to log your string after the creation of the div :<br><br> <body><br> <div id="log-panel">Logging Example</div><br> <script><br> logger.info('test');<br> </script>
<br> </body><br><br><div><span class="gmail_quote">On 12/22/05, <b class="gmail_sendername">Maninder, Singh</b> <<a href="mailto:mandiv@corp.untd.com">mandiv@corp.untd.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi Justin,<br><br>1. What all files do we need to include to get this logger to work?<br>2. What enhancements are you planning?<br>3. Do you, in the future, plan on extending the class to log info to the server using xmlhttp?
<br><br>Following is the code I tried to use but it didn't work.<br>Gives me a js error.<br><br><html><br><br> <head><br> <title>Logging</title><br> <script src=prototype.js language=javascript></script>
<br> <script src=scriptaculous.js language=javascript></script><br> <script src=logger.js language=javascript></script><br> <script><br> logger.info('test');<br> </script>
<br> </head><br><br> <body><br> <div id="log-panel">Logging Example</div><br> </body><br><br></html><br><br>Can you please help.<br><br>Thank you,<br>Mandy.<br>_______________________________________________
<br>Rails-spinoffs mailing list<br><a href="mailto:Rails-spinoffs@lists.rubyonrails.org">Rails-spinoffs@lists.rubyonrails.org</a><br><a href="http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs">http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
</a><br></blockquote></div><br>