log 7

Log some text in the F3 console. This helps a lot with testing custom Lua code. press F3 to open the console and visualize the log


Return value

Return TypeDescription
voidThis function doesn't return anything

Parameters

ParameterTypeDescription
1stringText to display on the logs

Examples

log("My code worked so far!")

Back to Scripting API