MCPcopy
hub / github.com/tinyhttp/tinyhttp / LoggerOptions

Interface LoggerOptions

packages/logger/src/index.ts:6–15  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4import { METHODS, ServerResponse as Response, IncomingMessage as Request } from 'http'
5
6export interface LoggerOptions {
7 methods?: string[]
8 output?: {
9 color: boolean
10 callback: (string: string) => void
11 }
12 timestamp?: boolean | { format?: string }
13 emoji?: boolean
14 ip?: boolean
15}
16
17const compileArgs = (
18 args: (string | number)[],

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected