X7ROOT File Manager
Current Path:
/lib/node_modules/npm/node_modules/debuglog
lib
/
node_modules
/
npm
/
node_modules
/
debuglog
/
ðŸ“
..
📄
LICENSE
(1.07 KB)
📄
README.md
(1.26 KB)
📄
debuglog.js
(554 B)
📄
package.json
(1.27 KB)
Editing: debuglog.js
var util = require('util'); module.exports = (util && util.debuglog) || debuglog; var debugs = {}; var debugEnviron = process.env.NODE_DEBUG || ''; function debuglog(set) { set = set.toUpperCase(); if (!debugs[set]) { if (new RegExp('\\b' + set + '\\b', 'i').test(debugEnviron)) { var pid = process.pid; debugs[set] = function() { var msg = util.format.apply(exports, arguments); console.error('%s %d: %s', set, pid, msg); }; } else { debugs[set] = function() {}; } } return debugs[set]; };
Upload File
Create Folder