summaryrefslogtreecommitdiff
path: root/cli/bench/testdata/npm/hono/dist/middleware/logger/index.d.ts
blob: 232305d2f56eb744e3c15787a4354b116fcebe65 (plain)
1
2
3
4
5
import type { Context } from '../../context';
import type { Next } from '../../hono';
declare type PrintFunc = (str: string, ...rest: string[]) => void;
export declare const logger: (fn?: PrintFunc) => (c: Context, next: Next) => Promise<void>;
export {};