Comparing version 2.4.2 to 2.4.3
@@ -8,3 +8,7 @@ 'use strict'; | ||
/** | ||
* @typedef {object} AbstractLogger | ||
* @typedef {ValidLogger | console | undefined} AbstractLoggerOptions | ||
*/ | ||
/** | ||
* @typedef {object} ValidLogger | ||
* @property {LogFunction} trace | ||
@@ -23,4 +27,4 @@ * @property {LogFunction} debug | ||
* Returns an abstract logger which enables adding logging to modules without adding a dependency to a full log library. | ||
* @param {any} logger | ||
* @returns {AbstractLogger} | ||
* @param {AbstractLoggerOptions} logger | ||
* @returns {ValidLogger} | ||
*/ | ||
@@ -27,0 +31,0 @@ module.exports = function abslog(logger) { |
{ | ||
"name": "abslog", | ||
"version": "2.4.2", | ||
"version": "2.4.3", | ||
"description": "An abstract logger - Enables adding logging to modules without adding a dependency to a full log library. ", | ||
@@ -53,3 +53,3 @@ "main": "lib/log.js", | ||
"bunyan": "1.8.15", | ||
"pino": "8.20.0", | ||
"pino": "9.0.0", | ||
"roarr": "4.2.5", | ||
@@ -56,0 +56,0 @@ "logdna": "3.5.3", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
11624
90