Skip to content

Commit

Permalink
docs: Explain logging
Browse files Browse the repository at this point in the history
  • Loading branch information
nickevansuk committed Nov 13, 2024
1 parent 8d6b18e commit 03eb6de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/openactive-broker-microservice/src/util/log.js
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down

0 comments on commit 03eb6de

Please sign in to comment.