From: Bob J. <jac...@us...> - 2011-04-27 03:02:07
|
Update of /cvsroot/jmri/jmri/jmrix/loconet/locogen In directory vz-cvs-3.sog:/tmp/cvs-serv14293/src/jmri/jmrix/loconet/locogen Modified Files: LocoGenPanel.java Log Message: better debug Index: LocoGenPanel.java =================================================================== RCS file: /cvsroot/jmri/jmri/jmrix/loconet/locogen/LocoGenPanel.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** LocoGenPanel.java 28 Feb 2010 17:59:55 -0000 1.1 --- LocoGenPanel.java 27 Apr 2011 03:02:05 -0000 1.2 *************** *** 166,169 **** --- 166,170 ---- */ public void message(LocoNetMessage m) { + log.debug("message"); // are we running? if (!mRunButton.isSelected()) return; *************** *** 178,181 **** --- 179,183 ---- */ void startSequenceDelay() { + log.debug("startSequenceDelay"); // at the start, mNextSequenceElement contains index we're // working on *************** *** 192,195 **** --- 194,198 ---- */ void sendNextItem() { + log.debug("sendNextItem"); // check if still running if (!mRunButton.isSelected()) return; *************** *** 236,238 **** --- 239,243 ---- } + // initialize logging + static org.apache.log4j.Logger log = org.apache.log4j.Logger.getLogger(LocoGenPanel.class.getName()); } |