[31:14] (extern: com.aussom.aussomscript.ALogger) extends: object
The aussom engine object.
setLevel (string Level)
Sets the log level to one of these values. (TRC, DBG, INFO, WARN, ERR)
Level is a string with the log level.this objectregisterOnLog (callback OnLog)
Sets the on log callback. The function definition is onLog(string value).
OnLog is a string with the message to log.this objectregisterOnTrc (callback OnLog)
Sets the on trace callback. The function definition is onLog(string value).
OnLog is a string with the message to log.this objectregisterOnDbg (callback OnLog)
Sets the on debug callback. The function definition is onLog(string value).
OnLog is a string with the message to log.this objectregisterOnInfo (callback OnLog)
Sets the on info callback. The function definition is onLog(string value).
OnLog is a string with the message to log.this objectregisterOnWarn (callback OnLog)
Sets the on warning callback. The function definition is onLog(string value).
OnLog is a string with the message to log.this objectregisterOnErr (callback OnLog)
Sets the on error callback. The function definition is onLog(string value).
OnLog is a string with the message to log.this objectregisterOnPrint (callback OnLog)
Sets the on print callback. The function definition is onLog(string value).
OnLog is a string with the message to log.this objectregisterOnPrintln (callback OnLog)
Sets the on println callback. The function definition is onLog(string value).
OnLog is a string with the message to log.this object[4:14] (extern: com.aussom.aussomscript.AEngine) extends: object
The aussom engine object.
runString (string FileName, string Script, list Args, bool loadScripts = true)
Runs the provided script strign and returns an int with 0 for success.
FileName is a string with the file name to give for this script.Script is a string with the script to run.Args is a list of args to pass to main().Optional arg that defines if the engine will look for and load included aussom script files from the page. Default true.An int with the return value. 0 is success.registerLogger (object Lgr)
Registers the provided Logger object to use for logging. You may also supply a null value to deregister an existing logger.
Lgr is a Logger object to register or null.this object