Clean up the logging; use % formats instead of f-strings
This commit is contained in:
parent
a1c1609908
commit
16b4b64099
3 changed files with 14 additions and 16 deletions
|
@ -51,7 +51,7 @@ class Engine:
|
|||
else:
|
||||
monster = Monster(monsters.Orc, position=random_start_position)
|
||||
|
||||
LOG.info(f'Spawning monster {monster}')
|
||||
LOG.info('Spawning monster %s', monster)
|
||||
self.entities.add(monster)
|
||||
|
||||
self.update_field_of_view()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue