doc: caplog: add caplog.messages (#5963)

doc: caplog: add caplog.messages
This commit is contained in:
Bruno Oliveira 2019-10-15 19:42:15 -03:00 committed by GitHub
commit 76c2a8ebbe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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