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:
@@ -22,14 +22,15 @@
|
||||
package com.threerings.media.sound;
|
||||
|
||||
import com.threerings.resource.ResourceManager;
|
||||
import com.threerings.media.Log;
|
||||
|
||||
import static com.threerings.media.Log.log;
|
||||
|
||||
public class SoundTestApp
|
||||
{
|
||||
public SoundTestApp (String[] args)
|
||||
{
|
||||
if (args.length == 0) {
|
||||
Log.info("Usage: runjava com.threerings.media.SoundTestApp " +
|
||||
log.info("Usage: runjava com.threerings.media.SoundTestApp " +
|
||||
"<key1> [<key2> <key3> ...]");
|
||||
System.exit(0);
|
||||
}
|
||||
|
||||
@@ -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