From 24d1ec7acd55ffce97a460b2280002b1aeaaf4ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Ml=C3=A1dek?= Date: Sun, 27 Aug 2023 18:38:16 +0200 Subject: [PATCH] feat: improve logging --- index.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/index.ts b/index.ts index 8d8fa34..f2190bb 100644 --- a/index.ts +++ b/index.ts @@ -145,7 +145,8 @@ while (true) { publishedAt: item.snippet?.publishedAt, })); - logger.debug("Found %d videos: %j", videos.length, videos); + logger.debug("Found %d videos...", videos.length); + logger.debug("%j", videos); if (videos.length === 0) { logger.warn("Got no videos!");