Logging using mkws.log notes that it is legacy output.
authorMike Taylor <mike@indexdata.com>
Wed, 19 Nov 2014 15:49:49 +0000 (15:49 +0000)
committerMike Taylor <mike@indexdata.com>
Wed, 19 Nov 2014 15:49:49 +0000 (15:49 +0000)
Code should be switched to using warn(), info(), etc.

src/mkws-core.js

index 1d4d26e..6b0ab48 100644 (file)
@@ -111,7 +111,8 @@ function _log(fn, string) {
 };
 
 
-mkws.log = function(x) { _log(mkws.logger.debug, x) };
+// \\\ transitional placeholder function until we have promoted all invocations
+mkws.log = function(x) { _log(mkws.logger.debug, "LEGACY LOG: " + x) };
 /*
 trace("message with severity trace");
 debug("message with severity debug");