feat: add log function

This commit is contained in:
Gabe Yuan
2024-03-19 18:07:18 +08:00
parent 1d9e9c1b7d
commit 6e927473b9
24 changed files with 76 additions and 41 deletions

View File

@@ -21,6 +21,7 @@ import {
} from "../../config";
import { shortcutRegister } from "../../libs/shortcut";
import { sendIframeMsg } from "../../libs/iframe";
import { kissLog } from "../../libs/log";
export default function Action({ translator, fab }) {
const fabWidth = 40;
@@ -138,7 +139,7 @@ export default function Action({ translator, fab }) {
});
};
} catch (err) {
console.log("[registerMenuCommand]", err);
kissLog(err, "registerMenuCommand");
}
}, [translator]);