Comparing version 2.7.0 to 2.7.1
@@ -67,11 +67,11 @@ "use strict"; | ||
var logLevelNames = Object.keys(logLevels); | ||
var _arr = Object.keys(logLevels); | ||
var _loop = function _loop() { | ||
var logLevelName = logLevelNames[_i]; | ||
var logLevel = _arr[_i]; | ||
// eslint-disable-next-line id-length | ||
log[logLevelName] = function (a, b, c, d, e, f, g, h, i, k) { | ||
log[logLevel] = function (a, b, c, d, e, f, g, h, i, k) { | ||
return log.child({ | ||
logLevel: logLevels[logLevelName] | ||
logLevel: logLevels[logLevel] | ||
})(a, b, c, d, e, f, g, h, i, k); | ||
@@ -81,6 +81,8 @@ }; | ||
for (var _i = 0; _i < logLevelNames.length; _i++) { | ||
for (var _i = 0; _i < _arr.length; _i++) { | ||
_loop(); | ||
} | ||
} // @see https://github.com/facebook/flow/issues/6705 | ||
// $FlowFixMe | ||
return log; | ||
@@ -87,0 +89,0 @@ }; |
@@ -87,3 +87,3 @@ { | ||
}, | ||
"version": "2.7.0" | ||
"version": "2.7.1" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
88591
465