mirror of
https://github.com/nodejs/node.git
synced 2024-12-01 16:10:02 +01:00
20 lines
483 B
JavaScript
20 lines
483 B
JavaScript
var util = require("util");
|
|
|
|
var sysWarning;
|
|
if (!sysWarning) {
|
|
sysWarning = "The 'sys' module is now called 'util'. It should have a similar interface.";
|
|
// Uncomment in 2011
|
|
//util.error(sysWarning);
|
|
}
|
|
|
|
exports.print = util.print;
|
|
exports.puts = util.puts;
|
|
exports.debug = util.debug;
|
|
exports.error = util.error;
|
|
exports.inspect = util.inspect;
|
|
exports.p = util.p;
|
|
exports.log = util.log;
|
|
exports.exec = util.exec;
|
|
exports.pump = util.pump;
|
|
exports.inherits = util.inherits;
|