MCPcopy Index your code
hub / github.com/Waishnav/devspace / shouldLog

Function shouldLog

src/logger.ts:26–28  ·  view source on GitHub ↗
(config: LoggingConfig, level: Exclude<LogLevel, "silent">)

Source from the content-addressed store, hash-verified

24};
25
26export function shouldLog(config: LoggingConfig, level: Exclude<LogLevel, "silent">): boolean {
27 return LEVEL_WEIGHT[config.level] >= LEVEL_WEIGHT[level];
28}
29
30export function logEvent(
31 config: LoggingConfig,

Callers 1

logEventFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected