Log class jockeying; implemented a test client at the party layer that

does proper context object creation; small progress on locmgr stuff.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@95 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2001-07-20 23:23:50 +00:00
parent 235e5eca1e
commit 1f610d73e9
5 changed files with 172 additions and 6 deletions
+38
View File
@@ -0,0 +1,38 @@
//
// $Id: Log.java,v 1.1 2001/07/20 23:23:50 mdb Exp $
package com.threerings.cocktail.party;
/**
* A placeholder class that contains a reference to the log object used by
* the Party services.
*/
public class Log
{
public static com.samskivert.util.Log log =
new com.samskivert.util.Log("cocktail.party");
/** Convenience function. */
public static void debug (String message)
{
log.debug(message);
}
/** Convenience function. */
public static void info (String message)
{
log.info(message);
}
/** Convenience function. */
public static void warning (String message)
{
log.warning(message);
}
/** Convenience function. */
public static void logStackTrace (Throwable t)
{
log.logStackTrace(com.samskivert.util.Log.WARNING, t);
}
}
@@ -1,8 +1,13 @@
//
// $Id: LocationDirector.java,v 1.1 2001/07/20 20:07:37 mdb Exp $
// $Id: LocationDirector.java,v 1.2 2001/07/20 23:23:50 mdb Exp $
package com.threerings.cocktail.party.client;
import com.threerings.cocktail.cher.client.Client;
public class LocationManager
{
public LocationManager (Client client)
{
}
}