Skip to content

Commit 40f4f1d

Browse files
Update lib/logger.js
Co-authored-by: Chemi Atlow <[email protected]>
1 parent 9a47a53 commit 40f4f1d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/logger.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ function noop() {}
5858
* Consumers subscribe to diagnostics_channel events
5959
*/
6060
class LogConsumer {
61-
constructor(options = {}) {
61+
constructor(options = kEmptyObject) {
6262
validateObject(options, 'options');
6363
const { level = 'info' } = options;
6464
validateString(level, 'options.level');

0 commit comments

Comments
 (0)