Learn R Programming

localLLM (version 1.1.0)

document_end: Finish automatic run documentation

Description

Flushes the buffered log entries assembled since the matching [document_start()] call and writes them to the configured text file. A SHA-256 hash of the written content is appended to the log so runs can be compared or referenced succinctly.

Usage

document_end()

Arguments

Value

Invisibly returns the log file path with attribute `hash` containing the SHA-256 digest of the run contents.