From 61305e4f4cc1b4e69eb9adb89d8d325caf9c8fe0 Mon Sep 17 00:00:00 2001 From: Jan Sauer Date: Wed, 6 Mar 2024 12:47:07 +0100 Subject: [PATCH] Improve documentation for use with Google Cloud Logging Based on the documentation `messageKey` can only be configured in the main config and is not a valid configuration option for a formater. See formaters documentation: https://getpino.io/#/docs/api?id=formatters-object --- docs/help.md | 1 - 1 file changed, 1 deletion(-) diff --git a/docs/help.md b/docs/help.md index a0aea6fde..53b0ca4ee 100644 --- a/docs/help.md +++ b/docs/help.md @@ -244,7 +244,6 @@ const PinoLevelToSeverityLookup = { const defaultPinoConf = { messageKey: 'message', formatters: { - messageKey: 'message', level(label, number) { return { severity: PinoLevelToSeverityLookup[label] || PinoLevelToSeverityLookup['info'],