!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.log=e():t.log=e()}(window,function(){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:r})},n.r=function(t){Object.defineProperty(t,"__esModule",{value:!0})},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=34)}([function(t,e,n){"use strict";function r(t,e){for(var n=0;n=0&&t<=this.levels.SILENT}},{key:"make",value:function(t){return"debug"===t&&(t="log"),void 0!==console[t]?this.bindMethod(console,t):void 0!==console.log?this.bindMethod(console,"log"):o}},{key:"replaceMethods",value:function(t){var e=this,n=this.distillLevel(t);if(null==n)throw new Error("loglevelnext: replaceMethods() called with invalid level: ".concat(t));if(!this.logger||"LogLevel"!==this.logger.type)throw new TypeError("loglevelnext: Logger is undefined or invalid. Please specify a valid Logger instance.");this.methods.forEach(function(t){var r=e.levels[t.toUpperCase()];e.logger[t]=r0&&!r.call(t,0))for(var g=0;g0)for(var h=0;h",this.level=this.options.level}var e,n,u;return e=t,(n=[{key:"disable",value:function(){this.level=this.levels.SILENT}},{key:"enable",value:function(){this.level=this.levels.TRACE}},{key:"factory",get:function(){return this.methodFactory},set:function(t){t.logger=this,this.methodFactory=t,this.methodFactory.replaceMethods(this.level)}},{key:"level",get:function(){return this.currentLevel},set:function(t){var e=this.methodFactory.distillLevel(t);if(null==e)throw new Error("loglevelnext: setLevel() called with invalid level: ".concat(t));this.currentLevel=e,this.methodFactory.replaceMethods(e),"undefined"==typeof console&&e-1}},function(t,e,n){"use strict";var r="razdwatrzy";t.exports=function(){return"function"==typeof r.contains&&(!0===r.contains("dwa")&&!1===r.contains("foo"))}},function(t,e,n){"use strict";t.exports=n(8)()?String.prototype.contains:n(7)},function(t,e,n){"use strict";t.exports=function(t){return"function"==typeof t}},function(t,e,n){"use strict";var r=n(1),o=Array.prototype.forEach,i=Object.create;t.exports=function(t){var e=i(null);return o.call(arguments,function(t){r(t)&&function(t,e){var n;for(n in t)e[n]=t[n]}(Object(t),e)}),e}},function(t,e,n){"use strict";var r=n(1);t.exports=function(t){if(!r(t))throw new TypeError("Cannot use null or undefined");return t}},function(t,e,n){"use strict";t.exports=function(){}},function(t,e,n){"use strict";var r=n(1),o=Object.keys;t.exports=function(t){return o(r(t)?Object(t):t)}},function(t,e,n){"use strict";t.exports=function(){try{return Object.keys("primitive"),!0}catch(t){return!1}}},function(t,e,n){"use strict";t.exports=n(15)()?Object.keys:n(14)},function(t,e,n){"use strict";var r=n(16),o=n(12),i=Math.max;t.exports=function(t,e){var n,c,u,l=i(arguments.length,2);for(t=Object(o(t)),u=function(r){try{t[r]=e[r]}catch(t){n||(n=t)}},c=1;c=0&&"[object Function]"===r.call(t.callee)),n}},function(t,e,n){"use strict";var r=n(3),o=n(30),i="function"==typeof Symbol&&"symbol"==typeof Symbol(),c=Object.prototype.toString,u=Object.defineProperty&&function(){var t={};try{for(var e in Object.defineProperty(t,"x",{enumerable:!1,value:t}),t)return!1;return t.x===t}catch(t){return!1}}(),l=function(t,e,n,r){var o;e in t&&("function"!=typeof(o=r)||"[object Function]"!==c.call(o)||!r())||(u?Object.defineProperty(t,e,{configurable:!0,enumerable:!1,value:n,writable:!0}):t[e]=n)},a=function(t,e){var n=arguments.length>2?arguments[2]:{},c=r(e);i&&(c=c.concat(Object.getOwnPropertySymbols(e))),o(c,function(r){l(t,r,e[r],n[r])})};a.supportsDescriptors=!!u,t.exports=a},function(t,e,n){"use strict";var r=n(32),o=n(29);t.exports=function(){var t=o();return r(Object,{assign:t},{assign:function(){return Object.assign!==t}}),t}},function(t,e,n){"use strict";n(33)(),n(24);var r=n(4),o=n(0),i=n(2),c=new r({name:"default"}),u={default:c},l="undefined"!=typeof window?window.log:null;t.exports=Object.assign(c,{get factories(){return{MethodFactory:o,PrefixFactory:i}},get loggers(){return u},getLogger:function(t){"string"==typeof t&&(t={name:t}),t.id||(t.id=t.name);var e=t,n=e.name,o=e.id,i={level:c.level};if("string"!=typeof n||!n||!n.length)throw new TypeError("You must supply a name when creating a logger.");var l=u[o];return l||(l=new r(Object.assign({},i,t)),u[o]=l),l},noConflict:function(){return"undefined"!=typeof window&&window.log===c&&(window.log=l),c}})}])});