UNPKG

@elliots/openapi-ts-backend

Version:

Enables easy implementions of OpenAPI REST APIs in TypeScript with full typings of schemas and operations.

5 lines 293 B
export declare type LogLevel = 'debug' | 'info' | 'warn' | 'error'; export declare type LogMethod = (...args: any[]) => any; export declare type Logger = Record<LogLevel, LogMethod>; export declare function createLogger(level: LogLevel | 'silent'): Logger; //# sourceMappingURL=logger.d.ts.map