Banana.Console

Cette documentation est dépassée

La documentation la plus complète et actualisée est celle de Banana Comptabilité Plus : Essayez-le maintenant

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");

 

Partager cet article: Twitter | Facebook | LinkedIn | Email