Development server logging configuration. Apart from 'stream' all other fields come from Fastify types.
FastifyLoggerOptions
↳ DevServerLoggerOptions
• Optional level: string
FastifyLoggerOptions.level
node_modules/fastify/types/logger.d.ts:143
• Optional prettyPrint: boolean | PrettyOptions
FastifyLoggerOptions.prettyPrint
node_modules/fastify/types/logger.d.ts:145
• Optional serializers: Object
| Name | Type |
|---|---|
err? |
(err: FastifyError) => { [key: string]: unknown; message: string ; stack: string ; type: string } |
req? |
(req: RawRequest) => { [key: string]: unknown; hostname?: string ; method?: string ; remoteAddress?: string ; remotePort?: number ; url?: string ; version?: string } |
res? |
(res: RawReply) => { [key: string]: unknown; statusCode: string | number } |
FastifyLoggerOptions.serializers
node_modules/fastify/types/logger.d.ts:122
• Optional stream: Writable
Stream to write logs to.
packages/repack/src/server/types.ts:50
▸ Optional genReqId(req): string
| Name | Type |
|---|---|
req |
RawRequest |
string
FastifyLoggerOptions.genReqId
node_modules/fastify/types/logger.d.ts:144