Skip to main content

log

Log content to the main tab. The content should be a valid HTML string, but not a complete HTML document, as it will be inserted into a div.

def log(
content: str,
do_flush: bool = False
)

Log content to the main tab. The content should be a valid HTML string, but not a complete HTML document, as it will be inserted into a div.

Parameters

NameTypeDescription
contentstrThe content to log. This should be a valid HTML string.
do_flushbool = FalseIndicates whether to flush the report after logging the content.