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