Skip to content

Commit

Permalink
update jsdoc
Browse files Browse the repository at this point in the history
  • Loading branch information
maou-shonen committed Oct 20, 2024
1 parent 63cb73b commit 3446d06
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/logger.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
},
) {
Expand Down
2 changes: 1 addition & 1 deletion src/middleware.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ export const pinoLogger = <ContextKey extends string = "logger">(

/**
* Pino logger middleware
* @deprecated Renamed to pinoLogger
* @deprecated Renamed to pinoLogger, will be removed in 1.0.0
*/
export const logger = pinoLogger;

Expand Down

0 comments on commit 3446d06

Please sign in to comment.