¿ªÔÆÌåÓý

Re: Script does not Print to System Console on Linux laptop #scripting


 

Phil,
?
If it is important that a script force a message be printed on the System Console, the use of the logging library provides a number of useful features.??
?
A simple example in the distributed jython\test folder is named "LoggingTest.py" and several other distributed example scripts make more sophisticated use of the "org.slf4j" library.??
?
The website gives a lot more info.? Maybe more than you wanted to see, since the target audience is the JMRI Java developers.? Most of it is also useful for script developers.??
?
Cliff in Baja SoCal

Join [email protected] to automatically receive all group messages.