ng-zorro-antd
Version:
An enterprise-class UI components based on Ant Design and Angular
16 lines (14 loc) • 2.87 kB
JavaScript
!function(r,n){"object"==typeof exports&&"undefined"!=typeof module?n(exports,require("@angular/core"),require("ng-zorro-antd/core/environments")):"function"==typeof define&&define.amd?define("ng-zorro-antd/core/logger",["exports","@angular/core","ng-zorro-antd/core/environments"],n):n(((r=r||self)["ng-zorro-antd"]=r["ng-zorro-antd"]||{},r["ng-zorro-antd"].core=r["ng-zorro-antd"].core||{},r["ng-zorro-antd"].core.logger={}),r.ng.core,r["ng-zorro-antd"].core.environments)}(this,(function(r,n,o){"use strict";
/*! *****************************************************************************
Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
this file except in compliance with the License. You may obtain a copy of the
License at http://www.apache.org/licenses/LICENSE-2.0
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
MERCHANTABLITY OR NON-INFRINGEMENT.
See the Apache Version 2.0 License for specific language governing permissions
and limitations under the License.
***************************************************************************** */function e(r,n){var o="function"==typeof Symbol&&r[Symbol.iterator];if(!o)return r;var e,t,a=o.call(r),i=[];try{for(;(void 0===n||n-- >0)&&!(e=a.next()).done;)i.push(e.value)}catch(r){t={error:r}}finally{try{e&&!e.done&&(o=a.return)&&o.call(a)}finally{if(t)throw t.error}}return i}function t(){for(var r=[],n=0;n<arguments.length;n++)r=r.concat(e(arguments[n]));return r}var a={},i="[NG-ZORRO]:";function c(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var o=r.reduce((function(r,n){return r+n.toString()}),"");return!a[o]&&(a[o]=!0,!0)}function l(r){for(var e=[],a=1;a<arguments.length;a++)e[a-1]=arguments[a];(o.environment.isTestMode||n.isDevMode()&&c.apply(void 0,t(e)))&&r.apply(void 0,t(e))}r.PREFIX=i,r.log=function(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];n.isDevMode()&&console.log.apply(console,t([i],r))},r.warn=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return l.apply(void 0,t([function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return console.warn.apply(console,t([i],r))}],r))},r.warnDeprecation=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];if(o.environment.isTestMode)return function(){};var e=(new Error).stack;return l.apply(void 0,t([function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return console.warn.apply(console,t([i,"deprecated:"],r,[e]))}],r))},Object.defineProperty(r,"__esModule",{value:!0})}));
//# sourceMappingURL=ng-zorro-antd-core-logger.umd.min.js.map