Log.write
From Spheriki
Writes a timestamped log entry.
Contents |
Usage
- Log Sphere Log object. Log in which to write the text.
- text string. The text to write into the log.
Examples
See the example for OpenLog.
Notes
- This function operates with a previously opened log, and is a method of the Sphere Log object. See the relevant pages for details.
- Each time this function is called, the current time is placed before the text itself in the log file.
- This function writes in the current block with the correct indentation within the log file. See Log.beginBlock() and Log.endBlock() for details on how to utilise blocks.
See also
- Sphere Log object