| 698 | /* ---- misc -------------------------------------------------------------- */ |
| 699 | |
| 700 | void ckpt_script_log(struct ParseState* Parser, struct Value* ReturnValue, struct Value** Param, int NumArgs) |
| 701 | { |
| 702 | const char* msg = ScriptArgs(Parser, Param, NumArgs, "script_log").strOr(0, ""); |
| 703 | // Both destinations on purpose: the app log survives the run for a bug |
| 704 | // report, the console pane is what the user is watching while it happens. |
| 705 | Logging::info("[script] {}", msg); |
| 706 | ScriptConsole::get().log(msg); |
| 707 | } |
| 708 | |
| 709 | void ckpt_selected_title(struct ParseState* Parser, struct Value* ReturnValue, struct Value** Param, int NumArgs) |
| 710 | { |
nothing calls this directly
no test coverage detected