chore(client/ts): reduce log level for syntax highlight widget

This commit is contained in:
Elian Doran 2025-03-21 17:48:54 +02:00
parent b876f98d69
commit 8e3a75ad57
No known key found for this signature in database

View File

@ -25,7 +25,7 @@ const HIGHLIGHT_MAX_BLOCK_COUNT = 500;
const tag = "SyntaxHighlightWidget";
const debugLevels = ["error", "warn", "info", "log", "debug"];
const debugLevel = debugLevels.indexOf("debug");
const debugLevel = debugLevels.indexOf("warn");
let warn = function (...args: unknown[]) {};
if (debugLevel >= debugLevels.indexOf("warn")) {