Banana.Console

This documentation is outdated

The most complete and up-to-date documentation is the one of Banana Accounting Plus: Try it now

In this article

The Banana.console object is used to display debug messages.

  • Debug messages are displayed on the message window
  • To see debug and log messages you should enable the option Show Debug Messages under Tools -> Program Options -> Developer
  • To see critical and warning messages you should enable the option Show Developer Warnings and Messages under Tools -> Program Options -> Developer

console.critical(msg)

Display the msg in the message windows as a critical.

Banana.console.critical("critical message");

console.debug(msg)

Display the msg in the message windows.

Banana.console.debug("Debug message");

console.log(msg)

Display the msg in the message windows.

Banana.console.log("Log message");

console.warn(msg)

Display the msg in the message windows as warning.

Banana.console.warn("Warning message");

 

Share this article: Twitter | Facebook | LinkedIn | Email