@megatherium/log
Advanced tools
Comparing version 0.1.2 to 0.1.3
@@ -8,3 +8,3 @@ "use strict"; | ||
}); | ||
exports.warn = exports.verbose = exports.log = exports.info = exports.http = exports.error = exports.debug = exports["default"] = void 0; | ||
exports.warn = exports.verbose = exports.log = exports.init = exports.info = exports.http = exports.error = exports.debug = exports["default"] = void 0; | ||
@@ -79,3 +79,3 @@ var _toConsumableArray2 = _interopRequireDefault(require("@babel/runtime/helpers/toConsumableArray")); | ||
this.log.apply(this, ['debug'].concat(message)); | ||
return this.log.apply(this, ['debug'].concat(message)); | ||
} | ||
@@ -89,3 +89,3 @@ }, { | ||
this.log.apply(this, ['error'].concat(message)); | ||
return this.log.apply(this, ['error'].concat(message)); | ||
} | ||
@@ -99,3 +99,3 @@ }, { | ||
this.log.apply(this, ['info'].concat(message)); | ||
return this.log.apply(this, ['info'].concat(message)); | ||
} | ||
@@ -114,3 +114,3 @@ }, { | ||
this.log.apply(this, ['http'].concat(message)); | ||
return this.log.apply(this, ['http'].concat(message)); | ||
} | ||
@@ -152,3 +152,3 @@ }, { | ||
this.log.apply(this, ['verbose'].concat(message)); | ||
return this.log.apply(this, ['verbose'].concat(message)); | ||
} | ||
@@ -162,3 +162,3 @@ }, { | ||
this.log.apply(this, ['warn'].concat(message)); | ||
return this.log.apply(this, ['warn'].concat(message)); | ||
} | ||
@@ -177,3 +177,4 @@ }]); | ||
info = logger.info.bind(logger), | ||
log = logger, | ||
init = logger.init.bind(logger), | ||
log = logger.log.bind(logger), | ||
verbose = logger.verbose.bind(logger), | ||
@@ -184,2 +185,3 @@ warn = logger.warn.bind(logger); | ||
exports.log = log; | ||
exports.init = init; | ||
exports.info = info; | ||
@@ -186,0 +188,0 @@ exports.http = http; |
{ | ||
"name": "@megatherium/log", | ||
"license": "UNLICENSED", | ||
"version": "0.1.2", | ||
"version": "0.1.3", | ||
"main": "dist/index.js", | ||
@@ -22,2 +22,3 @@ "author": { | ||
"build": "babel src --out-dir dist", | ||
"test": "npm run test:unit", | ||
"test:integration": "integration-test", | ||
@@ -24,0 +25,0 @@ "test:unit": "unit-test" |
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
20133
3
411
2