@pnp/logging
Advanced tools
Comparing version 1.0.4-3 to 1.0.4-4
/** | ||
@license | ||
* @pnp/logging v1.0.4-3 - pnp - light-weight, subscribable logging framework | ||
* MIT (https://github.com/pnp/pnp/blob/master/LICENSE) | ||
* @pnp/logging v1.0.4-4 - pnp - light-weight, subscribable logging framework | ||
* MIT (https://github.com/pnp/pnpjs/blob/master/LICENSE) | ||
* Copyright (c) 2018 Microsoft | ||
* docs: https://pnp.github.io/pnp/ | ||
* source: https://github.com/pnp/pnp | ||
* bugs: https://github.com/pnp/pnp/issues | ||
* docs: https://pnp.github.io/pnpjs/ | ||
* source: https:github.com/pnp/pnpjs | ||
* bugs: https://github.com/pnp/pnpjs/issues | ||
*/ | ||
@@ -10,0 +10,0 @@ /** |
/** | ||
@license | ||
* @pnp/logging v1.0.4-3 - pnp - light-weight, subscribable logging framework | ||
* MIT (https://github.com/pnp/pnp/blob/master/LICENSE) | ||
* @pnp/logging v1.0.4-4 - pnp - light-weight, subscribable logging framework | ||
* MIT (https://github.com/pnp/pnpjs/blob/master/LICENSE) | ||
* Copyright (c) 2018 Microsoft | ||
* docs: https://pnp.github.io/pnp/ | ||
* source: https://github.com/pnp/pnp | ||
* bugs: https://github.com/pnp/pnp/issues | ||
* docs: https://pnp.github.io/pnpjs/ | ||
* source: https:github.com/pnp/pnpjs | ||
* bugs: https://github.com/pnp/pnpjs/issues | ||
*/ | ||
@@ -10,0 +10,0 @@ (function webpackUniversalModuleDefinition(root, factory) { |
/** | ||
@license | ||
* @pnp/logging v1.0.4-3 - pnp - light-weight, subscribable logging framework | ||
* MIT (https://github.com/pnp/pnp/blob/master/LICENSE) | ||
* @pnp/logging v1.0.4-4 - pnp - light-weight, subscribable logging framework | ||
* MIT (https://github.com/pnp/pnpjs/blob/master/LICENSE) | ||
* Copyright (c) 2018 Microsoft | ||
* docs: https://pnp.github.io/pnp/ | ||
* source: https://github.com/pnp/pnp | ||
* bugs: https://github.com/pnp/pnp/issues | ||
* docs: https://pnp.github.io/pnpjs/ | ||
* source: https:github.com/pnp/pnpjs | ||
* bugs: https://github.com/pnp/pnpjs/issues | ||
*/ | ||
!function(e,n){"object"==typeof exports&&"object"==typeof module?module.exports=n():"function"==typeof define&&define.amd?define([],n):"object"==typeof exports?exports.pnp=n():e.pnp=n()}("undefined"!=typeof self?self:this,function(){return function(e){function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}var t={};return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:r})},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},n.p="",n(n.s=0)}([function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=t(1);t.d(n,"Logger",function(){return r.c}),t.d(n,"ConsoleListener",function(){return r.a}),t.d(n,"FunctionListener",function(){return r.b})},function(e,n,t){"use strict";var r=t(2);t.d(n,"c",function(){return r.a});var o=t(3);t.d(n,"a",function(){return o.a}),t.d(n,"b",function(){return o.b})},function(e,n,t){"use strict";t.d(n,"a",function(){return r});var r=function(){function e(){}return Object.defineProperty(e,"activeLogLevel",{get:function(){return e.instance.activeLogLevel},set:function(n){e.instance.activeLogLevel=n},enumerable:!0,configurable:!0}),Object.defineProperty(e,"instance",{get:function(){return void 0!==e._instance&&null!==e._instance||(e._instance=new o),e._instance},enumerable:!0,configurable:!0}),e.subscribe=function(){for(var n=[],t=0;t<arguments.length;t++)n[t]=arguments[t];n.map(function(n){return e.instance.subscribe(n)})},e.clearSubscribers=function(){return e.instance.clearSubscribers()},Object.defineProperty(e,"count",{get:function(){return e.instance.count},enumerable:!0,configurable:!0}),e.write=function(n,t){void 0===t&&(t=0),e.instance.log({level:t,message:n})},e.writeJSON=function(n,t){void 0===t&&(t=0),e.instance.log({level:t,message:JSON.stringify(n)})},e.log=function(n){e.instance.log(n)},e.error=function(n){e.instance.log({data:n,level:3,message:n.message})},e}(),o=function(){function e(e,n){void 0===e&&(e=2),void 0===n&&(n=[]),this.activeLogLevel=e,this.subscribers=n}return e.prototype.subscribe=function(e){this.subscribers.push(e)},e.prototype.clearSubscribers=function(){var e=this.subscribers.slice(0);return this.subscribers.length=0,e},Object.defineProperty(e.prototype,"count",{get:function(){return this.subscribers.length},enumerable:!0,configurable:!0}),e.prototype.write=function(e,n){void 0===n&&(n=0),this.log({level:n,message:e})},e.prototype.log=function(e){void 0!==e&&this.activeLogLevel<=e.level&&this.subscribers.map(function(n){return n.log(e)})},e}()},function(e,n,t){"use strict";t.d(n,"a",function(){return r}),t.d(n,"b",function(){return o});var r=function(){function e(){}return e.prototype.log=function(e){var n=this.format(e);switch(e.level){case 0:case 1:console.log(n);break;case 2:console.warn(n);break;case 3:console.error(n)}},e.prototype.format=function(e){var n=[];return n.push("Message: "+e.message),void 0!==e.data&&n.push(" Data: "+JSON.stringify(e.data)),n.join("")},e}(),o=function(){function e(e){this.method=e}return e.prototype.log=function(e){this.method(e)},e}()}])}); | ||
//# sourceMappingURL=logging.es5.umd.bundle.min.js.map |
/** | ||
@license | ||
* @pnp/logging v1.0.4-3 - pnp - light-weight, subscribable logging framework | ||
* MIT (https://github.com/pnp/pnp/blob/master/LICENSE) | ||
* @pnp/logging v1.0.4-4 - pnp - light-weight, subscribable logging framework | ||
* MIT (https://github.com/pnp/pnpjs/blob/master/LICENSE) | ||
* Copyright (c) 2018 Microsoft | ||
* docs: https://pnp.github.io/pnp/ | ||
* source: https://github.com/pnp/pnp | ||
* bugs: https://github.com/pnp/pnp/issues | ||
* docs: https://pnp.github.io/pnpjs/ | ||
* source: https:github.com/pnp/pnpjs | ||
* bugs: https://github.com/pnp/pnpjs/issues | ||
*/ | ||
@@ -10,0 +10,0 @@ (function (global, factory) { |
/** | ||
@license | ||
* @pnp/logging v1.0.4-3 - pnp - light-weight, subscribable logging framework | ||
* MIT (https://github.com/pnp/pnp/blob/master/LICENSE) | ||
* @pnp/logging v1.0.4-4 - pnp - light-weight, subscribable logging framework | ||
* MIT (https://github.com/pnp/pnpjs/blob/master/LICENSE) | ||
* Copyright (c) 2018 Microsoft | ||
* docs: https://pnp.github.io/pnp/ | ||
* source: https://github.com/pnp/pnp | ||
* bugs: https://github.com/pnp/pnp/issues | ||
* docs: https://pnp.github.io/pnpjs/ | ||
* source: https:github.com/pnp/pnpjs | ||
* bugs: https://github.com/pnp/pnpjs/issues | ||
*/ | ||
@@ -10,0 +10,0 @@ /** |
{ | ||
"name": "@pnp/logging", | ||
"version": "1.0.4-3", | ||
"version": "1.0.4-4", | ||
"description": "pnp - light-weight, subscribable logging framework", | ||
@@ -15,8 +15,8 @@ "main": "./dist/logging.es5.umd.js", | ||
"bugs": { | ||
"url": "https://github.com/pnp/pnp/issues" | ||
"url": "https://github.com/pnp/pnpjs/issues" | ||
}, | ||
"homepage": "https://github.com/pnp/pnp", | ||
"homepage": "https:github.com/pnp/pnpjs", | ||
"repository": { | ||
"type": "git", | ||
"url": "git://github.com/pnp/pnp" | ||
"url": "git:github.com/pnp/pnpjs" | ||
}, | ||
@@ -23,0 +23,0 @@ "module": "./dist/logging.es5.js", |
@@ -13,3 +13,3 @@ ![SharePoint Patterns and Practices](https://devofficecdn.azureedge.net/media/Default/PnP/sppnp.png) | ||
Please see the public site for [package documentation](https://pnp.github.io/pnp/). | ||
Please see the public site for [package documentation](https://pnp.github.io/pnpjs/). | ||
@@ -16,0 +16,0 @@ ### Code of Conduct |
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
123528