that.queue("log").publish(m_teamName, timestamp, s);
}
- // ### transitional placeholder function until we have promoted all invocations
- that.log = function (x) { _log(mkws.log, x) };
-
that.trace = function(x) { _log(mkws.trace, x) };
that.debug = function(x) { _log(mkws.debug, x) };
that.info = function(x) { _log(mkws.info, x) };
params.onbytarget = onBytarget;
that.info("setting bytarget callback");
}
- if (m_queues.stat) {
+ if (m_queues.stat || m_queues.firstrecords || m_queues.complete) {
params.onstat = onStat;
that.info("setting stat callback");
}