Added access to getLevel().
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1981 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
//
|
||||
// $Id: Log.java,v 1.1 2001/07/18 21:17:16 mdb Exp $
|
||||
// $Id: Log.java,v 1.2 2002/11/22 01:53:53 mdb Exp $
|
||||
|
||||
package com.threerings.media;
|
||||
|
||||
@@ -9,8 +9,10 @@ package com.threerings.media;
|
||||
*/
|
||||
public class Log
|
||||
{
|
||||
public static final String PACKAGE = "media";
|
||||
|
||||
public static com.samskivert.util.Log log =
|
||||
new com.samskivert.util.Log("media");
|
||||
new com.samskivert.util.Log(PACKAGE);
|
||||
|
||||
/** Convenience function. */
|
||||
public static void debug (String message)
|
||||
@@ -35,4 +37,9 @@ public class Log
|
||||
{
|
||||
log.logStackTrace(com.samskivert.util.Log.WARNING, t);
|
||||
}
|
||||
|
||||
public static int getLevel ()
|
||||
{
|
||||
return log.getLevel(PACKAGE);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user