doc: caplog: add caplog.messages

This commit is contained in:
Daniel Hahler 2019-10-15 16:18:30 +02:00
parent 7bc8cb8e2b
commit 71a7fd02a5
1 changed files with 1 additions and 0 deletions

View File

@ -356,6 +356,7 @@ def caplog(request):
Captured logs are available through the following properties/methods::
* caplog.messages -> list of format-interpolated log messages
* caplog.text -> string containing formatted log output
* caplog.records -> list of logging.LogRecord instances
* caplog.record_tuples -> list of (logger_name, level, message) tuples