Your IP : 192.168.165.1


Current Path : C:/Users/Mahmood/Desktop/moodle/lib/amd/build/
Upload File :
Current File : C:/Users/Mahmood/Desktop/moodle/lib/amd/build/log.min.js.map

{"version":3,"sources":["../src/log.js"],"names":["define","log","originalFactory","methodFactory","methodName","logLevel","rawMethod","message","source","setConfig","config","level","setLevel"],"mappings":"AAyBAA,OAAM,YAAC,CAAC,eAAD,CAAD,CAAoB,SAASC,CAAT,CAAc,CACpC,GAAIC,CAAAA,CAAe,CAAGD,CAAG,CAACE,aAA1B,CACAF,CAAG,CAACE,aAAJ,CAAoB,SAASC,CAAT,CAAqBC,CAArB,CAA+B,CAC/C,GAAIC,CAAAA,CAAS,CAAGJ,CAAe,CAACE,CAAD,CAAaC,CAAb,CAA/B,CAEA,MAAO,UAASE,CAAT,CAAkBC,CAAlB,CAA0B,CAC7B,GAAIA,CAAJ,CAAY,CACRF,CAAS,CAACE,CAAM,CAAG,IAAT,CAAgBD,CAAjB,CACZ,CAFD,IAEO,CACHD,CAAS,CAACC,CAAD,CACZ,CACJ,CACJ,CAVD,CAkBAN,CAAG,CAACQ,SAAJ,CAAgB,SAASC,CAAT,CAAiB,CAC7B,GAA4B,WAAxB,QAAOA,CAAAA,CAAM,CAACC,KAAlB,CAAyC,CACrCV,CAAG,CAACW,QAAJ,CAAaF,CAAM,CAACC,KAApB,CACH,CACJ,CAJD,CAMA,MAAOV,CAAAA,CACV,CA3BK,CAAN","sourcesContent":["// This file is part of Moodle - http://moodle.org/\n//\n// Moodle is free software: you can redistribute it and/or modify\n// it under the terms of the GNU General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// Moodle is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n// GNU General Public License for more details.\n//\n// You should have received a copy of the GNU General Public License\n// along with Moodle.  If not, see <http://www.gnu.org/licenses/>.\n\n/**\n * This is an empty module, that is required before all other modules.\n * Because every module is returned from a request for any other module, this\n * forces the loading of all modules with a single request.\n *\n * @module     core/log\n * @package    core\n * @copyright  2015 Andrew Nicols <andrew@nicols.co.uk>\n * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later\n */\ndefine(['core/loglevel'], function(log) {\n    var originalFactory = log.methodFactory;\n    log.methodFactory = function(methodName, logLevel) {\n        var rawMethod = originalFactory(methodName, logLevel);\n\n        return function(message, source) {\n            if (source) {\n                rawMethod(source + \": \" + message);\n            } else {\n                rawMethod(message);\n            }\n        };\n    };\n\n    /**\n     * Set default config settings.\n     *\n     * @param {Object} config including the level to use.\n     * @method setConfig\n     */\n    log.setConfig = function(config) {\n        if (typeof config.level !== \"undefined\") {\n            log.setLevel(config.level);\n        }\n    };\n\n    return log;\n});\n"],"file":"log.min.js"}