Y.log uses deprecated util.error on Node.js v0.12 #1988

Open
okuryu opened this Issue Mar 11, 2015 · 0 comments

Projects

None yet

1 participant

@okuryu
Member
okuryu commented Mar 11, 2015

I've received a bug report yui/yuidoc#325. This is an issue for tracking.

$ node -e 'require("yui").YUI().use("base", function (Y) { Y.log("This is an error.", "error"); })'
util.error: Use console.error instead
error: This is an error.
$ node -v
v0.12.0

There is the related source code.
https://github.com/yui/yui3/blob/master/src/yui/js/yui-log-nodejs.js

@okuryu okuryu referenced this issue in yui/yuidoc Mar 22, 2015
Open

Away from YUI #331

0 of 17 tasks complete
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment