| 625 | /* ---- misc -------------------------------------------------------------- */ |
| 626 | |
| 627 | void ckpt_script_log(struct ParseState* Parser, struct Value* ReturnValue, struct Value** Param, int NumArgs) |
| 628 | { |
| 629 | const char* msg = ScriptArgs(Parser, Param, NumArgs, "script_log").strOr(0, ""); |
| 630 | // Both destinations on purpose: the app log survives the run for a bug |
| 631 | // report, the console pane is what the user is watching while it happens. |
| 632 | Logging::info("[script] {}", msg); |
| 633 | ScriptConsole::get().log(msg); |
| 634 | } |
| 635 | |
| 636 | void ckpt_selected_title(struct ParseState* Parser, struct Value* ReturnValue, struct Value** Param, int NumArgs) |
| 637 | { |
nothing calls this directly
no test coverage detected