ft-next-logger
Advanced tools
Comparing version 4.3.0 to 4.3.1
'use strict'; | ||
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; | ||
var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); | ||
@@ -24,3 +26,3 @@ | ||
} | ||
this.logger.add(winston.transports.Console, Object.assign({}, { | ||
this.logger.add(winston.transports.Console, _extends({}, { | ||
level: level || 'info' | ||
@@ -47,3 +49,3 @@ }, opts)); | ||
} | ||
this.logger.add(Splunk, Object.assign({}, { | ||
this.logger.add(Splunk, _extends({}, { | ||
level: level || 'info', | ||
@@ -50,0 +52,0 @@ splunkUrl: splunkUrl |
{ | ||
"name": "ft-next-logger", | ||
"version": "4.3.0", | ||
"version": "4.3.1", | ||
"main": "dist/main.js", | ||
@@ -19,2 +19,3 @@ "repository": { | ||
"babel-cli": "^6.5.1", | ||
"babel-plugin-transform-object-assign": "^6.5.0", | ||
"babel-preset-es2015": "^6.5.0", | ||
@@ -21,0 +22,0 @@ "chai": "^3.4.0", |
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
13448
307
8