Differences
This shows you the differences between two versions of the page.
ref:lua_scone [2020/01/03 14:19] |
ref:lua_scone [2020/06/19 15:47] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== LuaScone ====== | ||
+ | Access to scone logging and parameters. | ||
+ | |||
+ | Use this for logging, or accessing parameters defined in scone. Lua example: <code>scone.debug( 'This is a debug message!' ) | ||
+ | scone.info( 'This is a info message!' ) | ||
+ | scone.warning( 'This is a warning!' ) | ||
+ | scone.error( 'This is an error!' ) | ||
+ | local body_name = scone.body_name -- access parameter defined in ScriptMeasure or ScriptController | ||
+ | </code> | ||
+ | |||
+ | ==== Public Functions ==== | ||
+ | ^ Function ^ Description ^ | ||
+ | | void **trace**(LuaString msg) | display trace message | | ||
+ | | void **debug**(LuaString msg) | display debug message | | ||
+ | | void **info**(LuaString msg) | display info message | | ||
+ | | void **warning**(LuaString msg) | display warning message | | ||
+ | | void **error**(LuaString msg) | display error message | | ||
+ | |||
+ | <sub>Converted from doxygen using [[https://github.com/tgeijten/dokugen|dokugen]]</sub> | ||