usgin the new logger changeDebug method. fixes #115
This commit is contained in:
parent
9fa8bc50c4
commit
d7cef5dceb
1 changed files with 1 additions and 1 deletions
|
|
@ -142,7 +142,7 @@ messenger.runtime.onMessage.addListener(async (message, sender, sendResponse) =>
|
||||||
|
|
||||||
async function openChatGPT(promptText, action, curr_tabId, prompt_name = '', do_custom_text = 0) {
|
async function openChatGPT(promptText, action, curr_tabId, prompt_name = '', do_custom_text = 0) {
|
||||||
let prefs = await browser.storage.sync.get(prefs_default);
|
let prefs = await browser.storage.sync.get(prefs_default);
|
||||||
taLog = new taLogger("mzta-background",prefs.do_debug);
|
taLog.changeDebug(prefs.do_debug);
|
||||||
prefs = checkScreenDimensions(prefs);
|
prefs = checkScreenDimensions(prefs);
|
||||||
//console.log(">>>>>>>>>>>>>>>> prefs: " + JSON.stringify(prefs));
|
//console.log(">>>>>>>>>>>>>>>> prefs: " + JSON.stringify(prefs));
|
||||||
taLog.log("[ThunderAI] Prompt length: " + promptText.length);
|
taLog.log("[ThunderAI] Prompt length: " + promptText.length);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue