Moai SDK
1.5 revision 1 (MoaiEdition)
|
Inherits MOAIGlobalClass< TYPE, SUPER >.
Function List | |
closeFile | |
isDebugBuild | |
log | |
openFile | |
registerLogMessage | |
setLogLevel | |
setTypeCheckLuaParams |
Resets log output to stdout.
function closeFile ()
Returns a boolean value indicating whether Moai has been compiles as a debug build or not.
function isDebugBuild ()
Alias for print.
function log ( string message )
message | ( string ) |
Opens a new file to receive log messages.
function openFile ( string filename )
filename | ( string ) |
Register a format string to handle a log message. Register an empty string to hide messages.
function registerLogMessage ( number messageID [, string formatString, number level ] )
messageID | ( number ) |
formatString | ( string ) Optional. Default value is an empty string. |
level | ( number ) Optional. One of MOAILogMgr.LOG_ERROR, MOAILogMgr.LOG_WARNING, MOAILogMgr.LOG_STATUS. Default value is MOAILogMgr.LOG_STATUS. |
Set the logging level.
function setLogLevel ( number logLevel )
logLevel | ( number ) One of MOAILogMgr LOG_NONE, LOG_ERROR, LOG_WARNING, LOG_STATUS |
Set or clear type checking of parameters passed to Lua bound Moai API functions.
function setTypeCheckLuaParams ( [ boolean check ] )
check | ( boolean ) Optional. Default value is false. |