Moved Bang's handy ImageCache into our handy JME extensions library.

Note: This marks my official conversion to a 100 character line width. We've
been experimenting with it on MetaSOY for a while now and it reduces wrapping
by what feels to be a substantial amount. We also tried 120 which ended up
feeling too wide.


git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@82 ed5b42cb-e716-0410-a449-f6a68f950b19
This commit is contained in:
Michael Bayne
2006-11-26 00:11:30 +00:00
parent 8fc51080a8
commit 4c61406ea8
2 changed files with 405 additions and 8 deletions
+10 -8
View File
@@ -1,8 +1,8 @@
//
// $Id: Log.java 3099 2004-08-27 02:21:06Z mdb $
// $Id$
//
// Narya library - tools for developing networked games
// Copyright (C) 2002-2004 Three Rings Design, Inc., All Rights Reserved
// Copyright (C) 2002-2006 Three Rings Design, Inc., All Rights Reserved
// http://www.threerings.net/code/narya/
//
// This library is free software; you can redistribute it and/or modify it
@@ -21,19 +21,21 @@
package com.threerings.jme;
import java.util.logging.Level;
import java.util.logging.Logger;
/**
* A placeholder class that contains a reference to the log object used by
* this package.
* A placeholder class that contains a reference to the log object used by this package.
*/
public class Log
{
public static com.samskivert.util.Log log =
new com.samskivert.util.Log("narya.jme");
/** We dispatch our log messages through this logger. */
public static Logger log = Logger.getLogger("com.threerings.nenya.jme");
/** Convenience function. */
public static void debug (String message)
{
log.debug(message);
log.fine(message);
}
/** Convenience function. */
@@ -51,6 +53,6 @@ public class Log
/** Convenience function. */
public static void logStackTrace (Throwable t)
{
log.logStackTrace(com.samskivert.util.Log.WARNING, t);
log.log(Level.WARNING, t.getMessage(), t);
}
}