From 94b6b1595d4a3dbae9a6c5ebe47ffbee720a4b38 Mon Sep 17 00:00:00 2001 From: Noel Date: Fri, 27 Jan 2023 23:44:41 -0700 Subject: [PATCH] update readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 163d1b5..f6434e0 100644 --- a/README.md +++ b/README.md @@ -75,7 +75,7 @@ import pino from 'pino'; const log = pino({ serializers: { - err: serializers.error, + err: serializers.createErrorSerializer(), req: serializers.request, res: serializers.response }