We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9a47a53 commit 40f4f1dCopy full SHA for 40f4f1d
lib/logger.js
@@ -58,7 +58,7 @@ function noop() {}
58
* Consumers subscribe to diagnostics_channel events
59
*/
60
class LogConsumer {
61
- constructor(options = {}) {
+ constructor(options = kEmptyObject) {
62
validateObject(options, 'options');
63
const { level = 'info' } = options;
64
validateString(level, 'options.level');
0 commit comments