code: function log(conn, name, message) {
      if (! show_sql) {
          return;
      }
      function padding(n, len) {
          var
              s = n.toString(),
              p = len - s.length;
          while (p > 0) {
              s = '0' + s;
              p--;
          }
          return s;
      }
      var
          d = new Date(),
          h = d.getHours(),
          m = d.getMinutes(),
          s = d.getSeconds(),
          ms = d.getMilliseconds(),
          date = padding(h, 2) + ':' + padding(m, 2) + ':' + padding(s, 2) + '.' + padding(ms, 3);
      console.log(date + (conn ? (' [Warp@' + conn.__objectId + '] ') : ' ') + name + ': ' + message);
  }
docs: log connection message: