Fixed bug in active_player calculation + other cleanups.
[pyrisk.git] / risk / log.py
1 """Define Logger class for saving and formatting game activity.
2 """
3
4 class Logger (list):
5     """Log messages generated by risk.base.Engine.
6
7     Currently just a list, but it's a convenient hook if you need it.
8     """
9     def __call__(self, message):
10         self.append(message)