diff --git a/src/logger.ts b/src/logger.ts index 2943794..01914c2 100644 --- a/src/logger.ts +++ b/src/logger.ts @@ -37,12 +37,12 @@ export class PinoLogger { } /** - * Assign bindings to http log context (default shallow merge) + * Assign bindings to http log context */ assign( bindings: pino.Bindings, opts?: { - /** deep merge */ + /** deep merge @default false */ deep?: boolean; }, ) { diff --git a/src/middleware.ts b/src/middleware.ts index b9b9527..dc1b027 100644 --- a/src/middleware.ts +++ b/src/middleware.ts @@ -81,7 +81,7 @@ export const pinoLogger = ( /** * Pino logger middleware - * @deprecated Renamed to pinoLogger + * @deprecated Renamed to pinoLogger, will be removed in 1.0.0 */ export const logger = pinoLogger;