More logging fixing, moved the compiled config stuff into Nenya.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@4 ed5b42cb-e716-0410-a449-f6a68f950b19
This commit is contained in:
@@ -25,7 +25,7 @@ import java.awt.Frame;
|
||||
import java.awt.event.KeyEvent;
|
||||
import java.awt.event.KeyListener;
|
||||
|
||||
import com.threerings.util.Log;
|
||||
import static com.threerings.NenyaLog.log;
|
||||
|
||||
public class KeyTimerApp
|
||||
{
|
||||
@@ -60,7 +60,7 @@ public class KeyTimerApp
|
||||
_prStart = now;
|
||||
|
||||
if (_rpStart != -1) {
|
||||
Log.info("RP\t" + (now - _rpStart));
|
||||
log.info("RP\t" + (now - _rpStart));
|
||||
}
|
||||
|
||||
logKey("keyPressed", e);
|
||||
@@ -71,7 +71,7 @@ public class KeyTimerApp
|
||||
long now = System.currentTimeMillis();
|
||||
_rpStart = now;
|
||||
|
||||
Log.info("PR\t" + (now - _prStart));
|
||||
log.info("PR\t" + (now - _prStart));
|
||||
|
||||
logKey("keyReleased", e);
|
||||
}
|
||||
@@ -87,7 +87,7 @@ public class KeyTimerApp
|
||||
protected void logKey (String msg, KeyEvent e)
|
||||
{
|
||||
int keyCode = e.getKeyCode();
|
||||
Log.info(msg + " [key=" + KeyEvent.getKeyText(keyCode) + "].");
|
||||
log.info(msg + " [key=" + KeyEvent.getKeyText(keyCode) + "].");
|
||||
}
|
||||
|
||||
protected long _prStart, _rpStart;
|
||||
|
||||
@@ -30,7 +30,7 @@ import javax.swing.JPanel;
|
||||
import com.samskivert.swing.Controller;
|
||||
import com.samskivert.swing.ControllerProvider;
|
||||
|
||||
import com.threerings.util.Log;
|
||||
import static com.threerings.NenyaLog.log;
|
||||
|
||||
public class KeyboardManagerApp
|
||||
{
|
||||
@@ -98,7 +98,7 @@ public class KeyboardManagerApp
|
||||
public boolean handleAction (ActionEvent action)
|
||||
{
|
||||
String cmd = action.getActionCommand();
|
||||
Log.info("handleAction [cmd=" + cmd + "].");
|
||||
log.info("handleAction [cmd=" + cmd + "].");
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user