From: Mike Taylor Date: Wed, 19 Nov 2014 15:49:49 +0000 (+0000) Subject: Logging using mkws.log notes that it is legacy output. X-Git-Url: http://git.indexdata.com/?p=mkws-moved-to-github.git;a=commitdiff_plain;h=fb18432fbe8d0c62265dd61be7027af0201c2fb9 Logging using mkws.log notes that it is legacy output. Code should be switched to using warn(), info(), etc. --- diff --git a/src/mkws-core.js b/src/mkws-core.js index 1d4d26e..6b0ab48 100644 --- a/src/mkws-core.js +++ b/src/mkws-core.js @@ -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");