pub fn program_log(
    log_collector: &Option<Rc<RefCell<LogCollector>>>,
    message: &str
)
Expand description

Log a message from the program itself.

The general form is:

"Program log: <program-generated output>"

That is, any program-generated output is guaranteed to be prefixed by “Program log: “