graphql-yoga
Version:
<div align="center"><img src="./website/public/cover.png" width="720" /></div>
13 lines (12 loc) • 537 B
text/typescript
export declare const warnPrefix: string;
export declare const infoPrefix: string;
export declare const errorPrefix: string;
export declare const debugPrefix: string;
export type LogLevel = 'debug' | 'info' | 'warn' | 'error';
export type YogaLogger = Record<LogLevel, (...args: any[]) => void>;
export declare const createLogger: (logLevel?: LogLevel | 'silent') => {
debug: (...args: Array<any>) => void;
info: (...args: Array<any>) => void;
warn: (...args: Array<any>) => void;
error: (...args: Array<any>) => void;
};