Closed rendmath closed 3 years ago
The fix for this is to use the section below to handle the no logger situation. This is in the readme file: I havent seen the need for the fix you provided if this is done as shown below:
A new feature for developers is to add a log4js logger to see detailed debug output. See the test/reporter.spec.js for configuration options. If you dont want to use the logging, include in your project @log4js-node/log4js-api and you can quiet all debugging. via:
const log4js = require('@log4js-node/log4js-api');
const logger = log4js.getLogger('default');
Yes, but isn't it an improvement if the reporter works with a minimal configuration without throwing errors, and the additional features can be added incrementally when needed ?
Closing, was implemented
The reporter always fails at run time when no logger is provider.