diff --git a/lib/logger.js b/lib/logger.js index ad96ba4..1622872 100644 --- a/lib/logger.js +++ b/lib/logger.js @@ -1,6 +1,6 @@ 'use strict' -const logger = Object.create(require('abstract-logging')) +const logger = require('abstract-logging') logger.child = function () { return logger } module.exports = logger diff --git a/package.json b/package.json index 989198f..b708d8a 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,7 @@ "node": ">=10.13.0" }, "dependencies": { - "abstract-logging": "^1.0.0", + "abstract-logging": "^2.0.0", "asn1": "^0.2.4", "assert-plus": "^1.0.0", "backoff": "^2.5.0",