Console
Methods
api.console.log(...args)
api.console.log(...args)api.console.log("This is a log message", { key: "value" });
// Output: [Modular] This is a log message { key: "value" }api.console.warn(...args)
api.console.warn(...args)api.console.warn("This is a warning");
// Output: [Modular] This is a warningapi.console.error(...args)
api.console.error(...args)api.console.error("This is an error", new Error("Something went wrong"));
// Output: [Modular] This is an error Error: Something went wrongNotes
Last updated