pub fn program_log(
log_collector: &Option<Rc<RefCell<LogCollector>>>,
message: &str,
)👎Deprecated since 3.1.0: This crate has been marked for formal inclusion in the Agave Unstable API. From v4.0.0 onward, the
agave-unstable-api crate feature must be specified to acknowledge use of an interface that may break without warning.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: “