log to file

This commit is contained in:
Jonas Zeunert
2020-05-03 20:38:14 +02:00
parent 6edd604c28
commit ad7569dde6

View File

@@ -9,7 +9,7 @@ import logging
def main():
args = parseCommandLine()
logging.basicConfig(level=logging.INFO)
logging.basicConfig(filename='log.txt', level=logging.INFO)
game = createGame(args)
asyncio.run(game.run())