Printing Output
There are several routines which print output. Each one prints to a different place in Jira. This article details each.
Printing to the SIL Manager Console or SIL Runner Gadget
runnerLog()
Sample Code
runnerLog("TEST"); |
Example output from the SIL Manager:
Example output from the SIL Runner Gadget:
The SIL Engine ignores the runnerLog() routine when script are run from other methods other than the SIL Manager.
Printing to the Jira System Logs
print()
printLog()
Sample Code
print("TEST");
logPrint("INFO", "TEST"); |
Example output:
Example Output
2020-08-13 02:01:23,619-0600 pool-387-thread-1 INFO admin 765x13039x1 1jpmc0 0:0:0:0:0:0:0:1 /rest/keplerrominfo/refapp/latest/async-script/runScriptFromEditor [c.k.s.lang.routines.LogPrintRoutine] TEST |
Printing to a file on the host system
printInFile()
Printing to the silprograms folder
Printing to the silprograms folder
Printing to a system file
Printing to a system file - Windows
Remember to click on the Refresh button!
Whenever changes are made outside the SIL Manager window, click on the "Refresh" button to view the changes.
Additional Help
Need help implementing this script? Talk to me directly to me by clicking on the bot on this page.
Related articles
Filter by label
There are no items with the selected labels at this time.