Helma logo
helma.org » Home > faq > How can I display log messages in the console window?

How can I display log messages in the console window?

Be sure to have set the property "logdir" to "console" in your server.properties or app.properties file to make Helma displaying logging information in the console window.

Additionally, you can manually invoke output to the console at explicit points in your JavaScript code by stating e.g.

write("This is some debugging info.");
writeln("This is some debugging info followed by a newline.");
.

Other helpful functions are app.log() and app.debug().


Up: Frequently Asked Questions (FAQ)
Previous: How can I set a global variable? Next: How can I log SQL transactions?


Page last modified on 2002-08-26 16:08 by hns