doc: caplog: add caplog.messages (#5963)
doc: caplog: add caplog.messages
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user