From: Mike Taylor Date: Thu, 20 Nov 2014 10:53:45 +0000 (+0000) Subject: Add straight-through aliases for trace(), debug() etc. X-Git-Url: http://git.indexdata.com/?p=mkws-moved-to-github.git;a=commitdiff_plain;h=df0de8aa67fe98e4900a88043049857bb1e1d5b0 Add straight-through aliases for trace(), debug() etc. --- diff --git a/src/mkws-widget.js b/src/mkws-widget.js index bb10767..1b5445a 100644 --- a/src/mkws-widget.js +++ b/src/mkws-widget.js @@ -14,6 +14,12 @@ mkws.makeWidget = function($, team, type, node) { }; that.log = team.log; + that.trace = team.trace; + that.debug = team.debug; + that.info = team.info; + that.warn = team.warn; + that.error = team.error; + that.fatal = team.fatal; that.toString = function() { return '[Widget ' + team.name() + ':' + type + ']';