Replace console.log with bglog.
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
export async function bglog(msg) {
|
||||
await browser.runtime.sendMessage({ kind: 'log', payload: msg });
|
||||
export async function bglog(msg, module = null) {
|
||||
await browser.runtime.sendMessage({
|
||||
kind: 'log',
|
||||
payload: { msg, module },
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user