New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

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

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 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