extract_timestamped_messages#

lsst.analysis.ap.extract_timestamped_messages(log: str | dict[str, Any]) str#

Extract records[*].(asctime, message) from an LSST-style JSON log and format them one per line, as:

2026-02-25T04:15:35.092108Z Preparing execution...

Parameters#

logstr or dict [str, Any]

Either the JSON text or an already-parsed dict.

Returns#

messagesstr

The joined asctime message lines.