2 var util = require("util")
12 global.log0 = function(s, l) {
14 if(s instanceof Object)
21 var t = d.getFullYear()+"-"+n0(d.getMonth()+1)+"-"+n0(d.getDate())+"_"+n0(d.getHours())+":"+n0(d.getMinutes())+":"+n0(d.getSeconds())
23 process.stdout.write(t+" "+s+"\n");
26 global.log1 = function(s) { log0(s, 1) }
27 global.log2 = function(s) { log0(s, 2) }
28 global.log3 = function(s) { log0(s, 3) }
29 global.log4 = function(s) { log0(s, 4) }
30 global.log5 = function(s) { log0(s, 5) }