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:
Michael Bayne
2006-06-23 21:21:05 +00:00
parent 220e2ddc53
commit e25ef0859e
13 changed files with 434 additions and 60 deletions
@@ -28,6 +28,8 @@ import java.awt.event.AWTEventListener;
import com.samskivert.util.Interval;
import com.samskivert.util.RunQueue;
import static com.threerings.NenyaLog.log;
/**
* Used to track user idleness in an AWT application.
*/
@@ -137,7 +139,7 @@ public abstract class IdleTracker
case ACTIVE:
// check whether they've idled out
if (now >= (_lastEvent + _toIdleTime)) {
Log.info("User idle for " + (now-_lastEvent) + "ms.");
log.info("User idle for " + (now-_lastEvent) + "ms.");
_state = IDLE;
idledOut();
}
@@ -146,7 +148,7 @@ public abstract class IdleTracker
case IDLE:
// check whether they've been idle for too long
if (now >= (_lastEvent + _toIdleTime + _toAbandonTime)) {
Log.info("User idle for " + (now-_lastEvent) + "ms. " +
log.info("User idle for " + (now-_lastEvent) + "ms. " +
"Abandoning ship.");
_state = ABANDONED;
abandonedShip();