com.bolinfest.prisonerbot.logging
Class AbstractLogger

java.lang.Object
  extended by com.bolinfest.prisonerbot.logging.AbstractLogger
All Implemented Interfaces:
GameLogger
Direct Known Subclasses:
ConsoleLogger, JdbcLogger

public abstract class AbstractLogger
extends Object
implements GameLogger

AbstractLogger is...

Author:
mbolin

Constructor Summary
AbstractLogger()
           
 
Method Summary
abstract  void log(String s)
           
abstract  void logGame(UnmodifiableGame game)
           
protected static String normalizeName(String name)
          Even if an AOL user reformats his or her screen name, this method should reformat it so that it always enter the database the same way -- all lowercase letters without spaces
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractLogger

public AbstractLogger()
Method Detail

log

public abstract void log(String s)
Specified by:
log in interface GameLogger

logGame

public abstract void logGame(UnmodifiableGame game)
Specified by:
logGame in interface GameLogger

normalizeName

protected static String normalizeName(String name)
Even if an AOL user reformats his or her screen name, this method should reformat it so that it always enter the database the same way -- all lowercase letters without spaces

Parameters:
name -
Returns: