MCPcopy Create free account
hub / github.com/FlowiseAI/Flowise / constructor

Method constructor

packages/components/src/handler.ts:218–225  ·  view source on GitHub ↗
(logger: Logger, orgId?: string)

Source from the content-addressed store, hash-verified

216 }
217
218 constructor(logger: Logger, orgId?: string) {
219 super()
220 this.logger = logger
221 this.orgId = orgId
222 if (getEnvironmentVariable('DEBUG') === 'true') {
223 logger.level = getEnvironmentVariable('LOG_LEVEL') ?? 'info'
224 }
225 }
226
227 getParents(run: Run) {
228 const parents: Run[] = []

Callers

nothing calls this directly

Calls 1

getEnvironmentVariableFunction · 0.90

Tested by

no test coverage detected