From 03eb6dee2db3fc08002fb4a7fd6995d2c9b8b60a Mon Sep 17 00:00:00 2001 From: Nick Evans <2616208+nickevansuk@users.noreply.github.com> Date: Wed, 13 Nov 2024 14:41:54 +0000 Subject: [PATCH] docs: Explain logging --- packages/openactive-broker-microservice/src/util/log.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/openactive-broker-microservice/src/util/log.js b/packages/openactive-broker-microservice/src/util/log.js index 536ca9215c..14cc167618 100644 --- a/packages/openactive-broker-microservice/src/util/log.js +++ b/packages/openactive-broker-microservice/src/util/log.js @@ -2,7 +2,7 @@ const chalk = require('chalk'); /* eslint-disable no-console */ const logError = (x) => console.error(chalk.cyanBright(x)); -const logErrorDuringHarvest = (x) => console.error(chalk.cyanBright(`\n\n${x}\n\n\n\n\n\n\n\n\n`)); +const logErrorDuringHarvest = (x) => console.error(chalk.cyanBright(`\n\n${x}\n\n\n\n\n\n\n\n\n`)); // Above the multibar output const log = (x) => console.log(chalk.cyan(x)); /* eslint-enable no-console */ const logCharacter = (x) => process.stdout.write(chalk.cyan(x));