modding:function:dbglog
Discuss this page on this page's Talk Page
dbgLog
| Syntax | (dbgLog expression) → string |
|---|---|
| Arguments | expression: Prints out the expression to the log. |
| Returns | string: A string representing what was output to the log file. |
| Category | 0.99, debug |
| Description | Outputs the expressions to the debug.log file. Can be lists, strings, functions (only outputs the name of the function), or numbers. |
Very useful in outputting large amounts of data or data that you want to look over at your leisure.
Example
modding/function/dbglog.txt · Last modified: by 127.0.0.1
