DUEL › api › jlib › log
From Botdom Documentation
Log is mainly an internal function of DUEL, it is used to write the log messages used to debug DUEL. The log file is stored in your Mozilla Application Profile Folder as a file called DUEL.log
Options
Log takes to values, the code of the message (see below for meanings) and the message content.
Code values
| Code | Value |
|---|---|
| 1 | Message |
| 2 | Success |
| 3 | Error |
| 4 | Separator |
Example
jLib.log("1", "This is a message to demonstrate jLib's logging function");
The Above code logs a message similar to:
[2008-01-11 11:30:12] Message: This is a message to demonstrate jLib's logging function

