From 40669e8d0c61a7136568f5f309dd7b9de83271d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daphn=C3=A9=20Popin?= Date: Wed, 22 Nov 2023 14:44:50 +0100 Subject: [PATCH] Change my mind again --- connectors/src/connectors/notion/lib/notion_api.ts | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/connectors/src/connectors/notion/lib/notion_api.ts b/connectors/src/connectors/notion/lib/notion_api.ts index f06c42f4d9ee..9d1aba6c7656 100644 --- a/connectors/src/connectors/notion/lib/notion_api.ts +++ b/connectors/src/connectors/notion/lib/notion_api.ts @@ -31,8 +31,12 @@ import mainLogger from "@connectors/logger/logger"; const logger = mainLogger.child({ provider: "notion" }); -const notionClientLogger = () => { - // no-op +const notionClientLogger = ( + level: LogLevel, + message: string, + extraInfo: Record +) => { + logger.info(`[Log from Notion Client] Level ${level}: ${message}`, extraInfo); }; /**