Skip to main content

note_to_log

Function note_to_log 

Source
pub fn note_to_log(msg: &str)
Expand description

Append a progress note to the captured log (.latexml.log) only — the LOG half of Perl Note/NoteLog (Common/Error.pm: print $LOG _freshline($LOG), strip_ansi($message), "\n" if $LOG). ANSI is stripped and the note lands on its own fresh line with a single trailing newline, so CorTeX’s line-anchored parser and the .latexml.log stay clean (mirrors the diagnostic-record freshline path below). No-op when no buffer is bound or output is suppressed — unlike a log::info! record it is NOT gated on the stderr verbosity, because the log is the verbose record (Perl writes it regardless of $VERBOSITY).