From b74d5f266133d9dee44e13eb493b3f535a92e81c Mon Sep 17 00:00:00 2001 From: Paolo Nesti Poggi Date: Sun, 17 Aug 2014 13:37:09 +0200 Subject: [PATCH] Fix #1943. Calls to Y.log in PluginHost are missing filter information. --- src/pluginhost/js/PluginHost.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pluginhost/js/PluginHost.js b/src/pluginhost/js/PluginHost.js index 8a72299f1d7..ecbd544e880 100644 --- a/src/pluginhost/js/PluginHost.js +++ b/src/pluginhost/js/PluginHost.js @@ -81,14 +81,14 @@ if (this[ns].setAttrs) { this[ns].setAttrs(config); } - else { Y.log("Attempt to replug an already attached plugin, and we can't setAttrs, because it's not Attribute based: " + ns); } + else { Y.log("Attempt to replug an already attached plugin, and we can't setAttrs, because it's not Attribute based: " + ns, 'warn', 'PluginHost'); } } else { // Create new instance this[ns] = new Plugin(config); this._plugins[ns] = Plugin; } } - else { Y.log("Attempt to plug in an invalid plugin. Host:" + this + ", Plugin:" + Plugin); } + else { Y.log("Attempt to plug in an invalid plugin. Host:" + this + ", Plugin:" + Plugin, 'error', 'PluginHost'); } } return this; },