This commit is contained in:
janisslsm committed 2026-11-01 12:12:55 +02:00
1 parent 1781d25a15
commit 732c0ad767
33051 files changed
+2591613 -3019689

No files matched your search

+23
View File
@@ -0,0 +1,23 @@
// Metro module 5991 (f5992).
import DeveloperOptionsStore from "../../../stores/DeveloperOptionsStore";
import { NOOP } from "../../../_bundle/Module505";
import Logger from "../../debug/Logger";
export function getQuestLogger(r5 = {}) {
const { quest, location: location2 } = r5;
const r10 = quest == null ? void 0 : quest.config.messages.questName;
const r17 = location2 != null;
let r9 = "";
const r8 = r17 ? `-${location2}` : "";
if (r10 != null) {
r9 = `-${r10})`;
}
const logger = new Logger(`QuestLogger${r8}${r9}`);
return {
log: DeveloperOptionsStore.isLoggingQuestEvents ? logger.log : NOOP,
warn: DeveloperOptionsStore.isLoggingQuestEvents ? logger.warn : NOOP,
error: DeveloperOptionsStore.isLoggingQuestEvents ? logger.error : NOOP,
info: DeveloperOptionsStore.isLoggingQuestEvents ? logger.info : NOOP,
verbose: DeveloperOptionsStore.isLoggingQuestEvents ? logger.verbose : NOOP,
trace: DeveloperOptionsStore.isLoggingQuestEvents ? logger.trace : NOOP
};
}