doc: caplog: add caplog.messages
This commit is contained in:
parent
7bc8cb8e2b
commit
71a7fd02a5
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue