Python Script Engine
7.2
GL Studio Editor Python Script API
|
Module Methods | |
void | PrintInfo (String str) |
void | PrintWarning (String str) |
void | PrintError (String str) |
void | PrintCodeInfo (String str) |
void | PrintCodeWarning (String str) |
void | PrintCodeError (String str) |
void | ClearLog (void) |
void | SaveLog (String fileName, String lastLine=String()) |
Editor Logging module that contains methods to send messages to the GL Studio Log.
void ClearLog | ( | void | ) |
Clear the editor log.
void PrintCodeError | ( | String | 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) |
void PrintCodeInfo | ( | String | 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) |
void PrintCodeWarning | ( | String | 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) |
void PrintError | ( | String | 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) |
void PrintInfo | ( | String | 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) |
void PrintWarning | ( | String | 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) |
void SaveLog | ( | String | fileName, |
String | lastLine = String () |
||
) |
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 |