OpenThought

 view release on metacpan or  search on metacpan

js/OpenThought.js  view on Meta::CPAN

//////////////////////////////////////////////////////////////////////////////
//
// Config section
//
// Change any of the following to your preference

/*
   Enable a log window so you can see what's going on behind the scenes.  If
   something in your app isn't working, try enabling this.  This can be very
   useful for debugging, but you probably want it disabled while your app is in
   production.  This, of course, won't work if your popup blocking software
   doesn't allow popups from the site you're running your application from.
*/
this.log_enabled = false;

/*
   What log level to run at.  You have the ability to enable lots of debugging
   output, only serious errors, and various levels in between.
     * options: debug, info, warn, error, fatal
*/
this.log_level = "debug";

lib/OpenThought.pm  view on Meta::CPAN

If C<url> is not last, everything sent after it will be lost when the page
changes.

=item log_enabled

 $OT->settings({ log_enabled => "true" });

Enable a log window so you can see what's going on behind the scenes.  If
something in your app isn't working, try enabling this.  This can be very
useful for debugging, but you probably want it disabled while your app is in
production.  This, of course, won't work if your popup blocking software
doesn't allow popups from the site you're running your application from.

=item log_level

 $OT->settings({ log_level => "info" });

What log level to run at.  You have the ability to enable lots of debugging
output, only serious errors, and various levels in between.

Options are C<debug>, C<info>, C<warn>, C<error>, C<fatal>



( run in 2.330 seconds using v1.01-cache-2.11-cpan-364913b4093 )