Switch to new logging API.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@510 ed5b42cb-e716-0410-a449-f6a68f950b19
This commit is contained in:
@@ -38,10 +38,11 @@ import javax.swing.JPanel;
|
||||
import com.samskivert.swing.VGroupLayout;
|
||||
import com.samskivert.swing.util.SwingUtil;
|
||||
|
||||
import com.threerings.media.Log;
|
||||
import com.threerings.media.image.ClientImageManager;
|
||||
import com.threerings.media.image.ImageUtil;
|
||||
|
||||
import static com.threerings.media.Log.log;
|
||||
|
||||
/**
|
||||
* Simple application for testing image trace functionality.
|
||||
*/
|
||||
@@ -106,8 +107,7 @@ public class TraceViz
|
||||
app.run();
|
||||
|
||||
} catch (Exception e) {
|
||||
Log.warning("Failed to run application: " + e);
|
||||
Log.logStackTrace(e);
|
||||
log.warning("Failed to run application.", e);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user