MCPcopy Create free account
hub / github.com/aptdnfapt/qwen-code-oai-proxy / isRuntimeLogLevel

Function isRuntimeLogLevel

src/server/runtime-control-handler.ts:3–5  ·  view source on GitHub ↗
(value: string)

Source from the content-addressed store, hash-verified

1import { RUNTIME_LOG_LEVELS, type RuntimeLogLevel } from "../core/types/logging";
2
3function isRuntimeLogLevel(value: string): value is RuntimeLogLevel {
4 return (RUNTIME_LOG_LEVELS as readonly string[]).includes(value);
5}
6
7export function createRuntimeLogLevelGetHandler({ fileLogger }: { fileLogger: any }) {
8 return async (_req: any, res: any): Promise<void> => {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected