![]() |
Python Script Engine
8.3
GL Studio Editor Python Script API
|
Module Methods | |
Methods that can be called on the module. | |
None | PrintInfo (str str) |
None | PrintWarning (str str) |
None | PrintError (str str) |
None | PrintCodeInfo (str str) |
None | PrintCodeWarning (str str) |
None | PrintCodeError (str str) |
None | ClearLog () |
None | SaveLog (str fileName, str lastLine=str()) |
Editor Logging module that contains methods to send messages to the GL Studio Log.
None ClearLog | ( | ) |
Clear the editor log.
None PrintCodeError | ( | str | str | ) |
Output an error string to the editor log with no formatting.
Useful to display code.
str | error string to output (NOTE: the string can contain any number of newline characters if multiple line output is desired) |
None PrintCodeInfo | ( | str | str | ) |
Output an info string to the editor log with no formatting.
Useful to display code.
str | info string to output (NOTE: the string can contain any number of newline characters if multiple line output is desired) |
None PrintCodeWarning | ( | str | str | ) |
Output an error string to the editor log with no formatting.
Useful to display code.
str | error string to output (NOTE: the string can contain any number of newline characters if multiple line output is desired) |
None PrintError | ( | str | str | ) |
Output an error string to the editor log.
str | error string to output (NOTE: the string can contain any number of newline characters if multiple line output is desired) |
None PrintInfo | ( | str | str | ) |
Output an info string to the editor log.
str | Info string to output (NOTE: the string can contain any number of newline characters if multiple line output is desired) |
None PrintWarning | ( | str | str | ) |
Output a warning string to the editor log.
str | warning string to output (NOTE: the string can contain any number of newline characters if multiple line output is desired) |
None SaveLog | ( | str | fileName, |
str | lastLine = str () |
||
) |
Save the current log to the specified file.
fileName | Fully qualified path name of the file to write |
lastLine | An addition non-formatted line to add to the end of the log. Normally used by errors written by exception handlers |