Implemented the BattleLog class.