Displaying 1 result from an estimated 1 matches for "loggingurl".
Did you mean:
logging&hl
2005 Sep 28
0
Logging to the server
...ang of logging to an area on the current page.
Also, there are cases where I want to keep track of logged information.
Fortunately, there''s a surprisingly simple alternative: logging to the
server. Below is my first stab using prototype.js (of course) and
Rails.
Michael
Logger = {
loggingUrl: ''/myapp/admin/log'',
debug: false,
log: function(msg, level) {
if (!loggingUrl) {
return;
}
try {
new Ajax.Request(Logger.loggingUrl, {
parameters: ''msg='' + encodeURIComponent(msg) +
''&level='' +...