Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

 

Logging Data

The log built-in function on the Mez namespace writes a log message with level INFO. The logging entry is saved in the __logging_log__ table of your application instance's schema. It will also be available via the Logging Service.

Mez:log("Hello, World");

 

 

 

Displaying Pop-ups

Mez:alert(s), Mez:alertWarn(s), and Mez:alertError(s) all displays an alert dialog in the UI with the given message. They differ in text color (blue, orange, and red).

 

Mez:alert("translation.key");
Mez:alertWarn("translation.key");
Mez:alertError("translatioin.key");

 

 

 

warn

Writes a log message with level WARNING

 

  1. Mez:warn(“translation.key”);

 

error

Writes a log message with level SEVERE

 

  1. Mez:error(“translation.key”);

 

Additional Mentions and References

 

 

 

Mez namespace | log | alert | warn | error | alertWarn | alertError

 

  • No labels