Skip to content

Commit

Permalink
Add "level='TRACE'" to caplog snippet in docs (#400)
Browse files Browse the repository at this point in the history
  • Loading branch information
Delgan committed Mar 19, 2021
1 parent 87e181e commit 3f2b498
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/resources/migration.rst
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ This is done on the fixture itself by mokeypatching |caplog|_. In your ``conftes
def emit(self, record):
logging.getLogger(record.name).handle(record)

handler_id = logger.add(PropogateHandler(), format="{message} {extra}")
handler_id = logger.add(PropogateHandler(), format="{message} {extra}", level="TRACE")
yield _caplog
logger.remove(handler_id)

Expand Down

0 comments on commit 3f2b498

Please sign in to comment.