diff --git a/src/_pytest/logging.py b/src/_pytest/logging.py index 2861baefd..054bfc866 100644 --- a/src/_pytest/logging.py +++ b/src/_pytest/logging.py @@ -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