MCPcopy Create free account
hub / github.com/Shazbot/WH3-Mod-Manager / flowExecutionDebugLog

Function flowExecutionDebugLog

src/flowExecutionSupport.ts:28–32  ·  view source on GitHub ↗
(context: Pick<FlowExecutionContext, "isDebug"> | undefined, ...args: any[])

Source from the content-addressed store, hash-verified

26export const isFlowExecutionDebugEnabled = (): boolean =>
27 process.env.NODE_ENV === "development" && process.env.WHMM_VERBOSE_FLOW_EXECUTION === "1";
28export const flowExecutionDebugLog = (context: Pick<FlowExecutionContext, "isDebug"> | undefined, ...args: any[]) => {
29 if (context?.isDebug || isFlowExecutionDebugEnabled()) {
30 console.log(...args);
31 }
32};
33export const buildReadPackCacheKey = (packPath: string, packReadingOptions: PackReadingOptions): string => {
34 const keyPayload = {
35 packPath,

Callers 4

prepareFlowFunction · 0.90
executeNodeGraphFunction · 0.90
hotPathLogFunction · 0.90

Calls 1

Tested by

no test coverage detected