Good to see this utility. Something similar was on my mind. I'll let know comments if any, so as to improve this.
One suggestion for now: Instead of just having log enabled or disabled have it to set to a specific level("DEBUG", "WARN","ERROR",...) or "OFF" so as to control details of logging level.
Great tool! I ran into problems on a site I was working on that had body.color="white". Then I realized that jslog doesn't specify the text and date foreground color. It could be a useful addition to make it work with those tricky and messy site styles.
Fanis, sorry it took me so long to get back to you. I made this fix in version 0.7 (which I put up in April) -- you can now use JSLog on sites with white text!
Is there a way to place where the console shows up?
I can't user prototype, it seems to conflict whith googles ajaxslt processor, so can I specify a div for it to live in?
Michael, you currently can't specify a div, the script writes out it's own div at runtime. It should be pretty straightforward to make the change though, if you feel like digging into the code! Cheers, Andre
I'd really like to see the persistent debugger added so I can use this to log actual user interactions in online courses to a MySQL database. I've been looking at USAProxy, but it seems like I shouldn't need to run a proxy if I am willing to manually add a javascript such as jslog to my application. Anyone know of any other scripts like jslog that could do the server side logging? I suspect it would be easy to add myself, but I'd rather not waste my time if someone else has already done it.
Comments
Gladwin Burboz on Feb 27
Good to see this utility. Something similar was on my mind. I'll let know comments if any, so as to improve this.
One suggestion for now: Instead of just having log enabled or disabled have it to set to a specific level("DEBUG", "WARN","ERROR",...) or "OFF" so as to control details of logging level.
Fanis on Mar 28
Great tool! I ran into problems on a site I was working on that had body.color="white". Then I realized that jslog doesn't specify the text and date foreground color. It could be a useful addition to make it work with those tricky and messy site styles.
Fanis
Andre on May 10
Fanis, sorry it took me so long to get back to you. I made this fix in version 0.7 (which I put up in April) -- you can now use JSLog on sites with white text!
Thanks for bringing this up!
Andre
michael hunter on Oct 10
Is there a way to place where the console shows up?
I can't user prototype, it seems to conflict whith googles ajaxslt processor, so can I specify a div for it to live in?
Andre on Oct 12
Michael, you currently can't specify a div, the script writes out it's own div at runtime. It should be pretty straightforward to make the change though, if you feel like digging into the code! Cheers, Andre
Brett Brewer on Mar 27
I'd really like to see the persistent debugger added so I can use this to log actual user interactions in online courses to a MySQL database. I've been looking at USAProxy, but it seems like I shouldn't need to run a proxy if I am willing to manually add a javascript such as jslog to my application. Anyone know of any other scripts like jslog that could do the server side logging? I suspect it would be easy to add myself, but I'd rather not waste my time if someone else has already done it.