ReadFromLog
Revision as of 21:51, 3 February 2010 by imported>Shademe (Updated with the newer details)
A command for ConScribe.
Syntax:
(logContents:array) ReadFromLog formatString:string var1 var2 ... var20
Reads from the log and returns an array populated with its contents.
Notes
- The first key, ResultArray[0], will always contain the full path of the log being read from.
- When attempting to read from a non-existent log, the array will only have a single element (excluding the first key) - The string "Log file not found".
- To read from the default log, pass the string "*.*" as the argument.
See also