Report the toString() output on long runners.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2822 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
//
|
||||
// $Id: Invoker.java,v 1.11 2003/09/24 17:10:49 mdb Exp $
|
||||
// $Id: Invoker.java,v 1.12 2003/10/08 04:10:29 mdb Exp $
|
||||
|
||||
package com.threerings.presents.util;
|
||||
|
||||
@@ -143,8 +143,8 @@ public class Invoker extends LoopingThread
|
||||
|
||||
// report long runners
|
||||
if (duration > 500L) {
|
||||
Log.warning("Invoker unit ran long [class=" + key +
|
||||
", duration=" + duration + "].");
|
||||
Log.warning("Invoker unit ran for '" + duration + "ms: " +
|
||||
unit + "' (" + key + ").");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user