Let's get the class name in there as well.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2660 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
//
|
//
|
||||||
// $Id: PresentsDObjectMgr.java,v 1.33 2003/06/12 22:10:07 mdb Exp $
|
// $Id: PresentsDObjectMgr.java,v 1.34 2003/06/15 16:47:33 mdb Exp $
|
||||||
|
|
||||||
package com.threerings.presents.server;
|
package com.threerings.presents.server;
|
||||||
|
|
||||||
@@ -195,7 +195,8 @@ public class PresentsDObjectMgr
|
|||||||
// report excessively long units
|
// report excessively long units
|
||||||
if (elapsed > 500) {
|
if (elapsed > 500) {
|
||||||
Log.warning("Unit '" + StringUtil.safeToString(unit) +
|
Log.warning("Unit '" + StringUtil.safeToString(unit) +
|
||||||
"' ran for " + elapsed + "ms.");
|
" [" + StringUtil.shortClassName(unit) +
|
||||||
|
"]' ran for " + elapsed + "ms.");
|
||||||
}
|
}
|
||||||
|
|
||||||
// record the time spent processing this unit
|
// record the time spent processing this unit
|
||||||
|
|||||||
Reference in New Issue
Block a user