User Tools

Site Tools


modding:function:dbglog

Discuss this page on this page's Talk Page

dbgLog

See dbgLog at Xelerus

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

(dbgLog '(1 2 3 4))

Outputs (1 2 3 4) to the log file.

Return to Functions list

modding/function/dbglog.txt · Last modified: 2014/12/27 04:40 by 127.0.0.1