MCPcopy Index your code
hub / github.com/simstudioai/sim / getLogLevel

Function getLogLevel

packages/logger/src/index.ts:50–55  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

48}
49
50const getLogLevel = (): string | undefined => {
51 if (typeof process !== 'undefined' && process.env) {
52 return process.env.LOG_LEVEL
53 }
54 return undefined
55}
56
57/**
58 * Get the minimum log level from environment variable or use defaults

Callers 1

getMinLogLevelFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected