diff --git a/Adventure Game/adventure_game/__main__.py b/Adventure Game/adventure_game/__main__.py index 7422f06..64ca805 100644 --- a/Adventure Game/adventure_game/__main__.py +++ b/Adventure Game/adventure_game/__main__.py @@ -31,11 +31,15 @@ class AdventureGame(npyscreen.NPSAppManaged): # Setup logging self.log = logging - self.log.basicConfig(filename=self.mainPath / 'logs/AdventureGame.log', filemode='w', level=logging.DEBUG) + self.log.basicConfig(filename=self.mainPath / 'logs/AdventureGame.log', + filemode='w', + level=logging.DEBUG) + self.log.info('Logging started!') - # Parse world + # parse this data first (since it includes graphics for the main menu self.gamelib = parse( - self.mainPath / 'gamedata/gamelib.yaml') # parse this data first (since it includes graphics for the main menu + self.mainPath / 'gamedata/gamelib.yaml') + self.log.debug('Gamelib at {0}'.format(self.mainPath / 'gamedata/gamelib.yaml')) # Intalize the player as none, the player will be created in the main menu. self.player = None