UNPKG

bunshine

Version:

A Bun HTTP & WebSocket server that is a little ray of sunshine.

10 lines (8 loc) 219 B
import type Context from '../Context/Context'; export type LoggerOptions = { writer?: (msg: string) => void; exceptWhen?: ( context: Context, response: Response | null ) => boolean | Promise<boolean>; };