|
openLog
|
The openLog function writes the displayed string on the console to a new or an existing file.
If the file is existing, it maybe cleared of its contents by having an argument clear:. If the file is existing
by default it will append the displayed strings. Timestamps may or may not be written for each displayed line
by having timing: or notiming: as an argument. Only one log may be opened for each context.
When to use Use the openLog function to write the displayed console lines to a log file.
(openLog aFilename [options] [aNote]) Returns the Boolean value true, or false if an error occurred. This function will also return false if
a log file is already open.
Here are a number of links to Lambda coding examples which contain this instruction in various use cases.
The openLog function writes to a file the displayed strings on the console.
Here are the links to the data types of the function arguments. Here are also a number of links to functions having arguments with any of these data types.
You can always talk with the AIS at aiserver.sourceforge.net.
Name
Description
AIS Types aFilename The name of the log file. String clear: Symbollic argument to clear an existing file before writing the log. Symbol timing: Symbollic argument to include the timestamp on each line for the log. Symbol notiming: Symbollic argument to not include the timestamp on each line for the log. Symbol aNote Optional information to be written to the log. String
Returns:
Examples
Argument Types
String
Symbol
How do I contact the AIS team?